<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5344</bug_id>
          
          <creation_ts>2013-10-14 09:46:12 +0000</creation_ts>
          <short_desc>Split up IMAGE_FEATURES - debug-tweaks into logical components</short_desc>
          <delta_ts>2015-02-12 17:34:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>12 February 2015: Docs updated</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Koen Kooi">koen</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>chong.lu</cc>
    
    <cc>koen</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37870</commentid>
    <comment_count>0</comment_count>
    <who name="Koen Kooi">koen</who>
    <bug_when>2013-10-14 09:46:12 +0000</bug_when>
    <thetext>Currently PAM and dropbear allow logins but openssh doesn&apos;t (patch sent for that). It would be nice to have a global knob to change this behaviour for all affected recipes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41651</commentid>
    <comment_count>1</comment_count>
    <who name="Chong Lu">chong.lu</who>
    <bug_when>2014-03-25 01:44:22 +0000</bug_when>
    <thetext>There is following configuration in /etc/pam.d/common-auth file on target:

auth	[success=1 default=ignore]	pam_unix.so nullok

About nullok argument:

nullok
           The default action of this module is to not permit the user access to a service if their official password is blank. The nullok argument overrides this default
           and allows any user with a blank password to access the service.

So, we can use this argument to decide whether allow empty password login.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42083</commentid>
    <comment_count>2</comment_count>
    <who name="Chong Lu">chong.lu</who>
    <bug_when>2014-04-02 01:31:47 +0000</bug_when>
    <thetext>Hi Koen,

Can you describe this defect in detail?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44064</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2014-06-18 17:26:03 +0000</bug_when>
    <thetext>Assigned to Koen Kooi since that is who should supply the NEEDINFO per RP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44546</commentid>
    <comment_count>4</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2014-07-17 15:19:16 +0000</bug_when>
    <thetext>The ability to do an empty password login is provided by debug-tweaks, but it also happens to do other things that may be less then desired.

I&apos;m updating this to be an enhancement request that breaks up the debug-tweaks functionality into logical units so they can be individually used.

Change summary from:

Add knob to (dis)allow empty password login for PAM/dropbear/openssh/etc

to:

Split up IMAGE_FEATURES - debug-tweaks into logical components


Suggested enhancement:

Split debug-tweaks into it&apos;s logical components:

empty-root-password - run zap_empty_root_password

allow-empty-password - run ssh_allow_empty_password

post-install-logging - run postinst_enable_logging


Map &quot;debug-tweaks&quot; to enabled those three items.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48646</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-02-09 15:51:32 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d42963a3feda6c4cf074cbdacc7cf904734d70cf

ScottR, docs will need to add definitions for the split values of debug-tweaks 
as enumerated by Mark in the above comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48773</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-02-12 17:34:00 +0000</bug_when>
    <thetext>Hi, 

The documentation changes for this fix are here:

http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-EXTRA_IMAGE_FEATURES.

http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#ref-features-image (see the &apos;allow-empty-password&apos;, &apos;debug-tweaks&apos;, &apos;empty-root-password&apos;, and &apos;post-install-logging&apos; items in the feature list.

Since the bug is already set to RESOLVED, I am simply posting notice that these changes are in.  If there are issues, let me know here.  I also set the documentation flag to &quot;done&quot;.

Thanks, 
Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>