Bug 7925

Summary: setting a root password
Product: [Documentation] Reference Reporter: Stefan Mueller-Klieser <s.mueller-klieser>
Component: handbookAssignee: Scott Rifenbark <srifenbark>
Status: VERIFIED FIXED QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium CC: bogdanx.a.voiculescu, poky.doc.watcher, poky.watcher, srifenbark
Version: 1.7.2   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard: 17 Sept 2015 - RESOLVED/FIXED
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Stefan Mueller-Klieser 2015-06-26 11:26:21 UTC
reference manual 7.37. extrausers.bbclass" examples shows how to set the root password:

inherit extrausers
     EXTRA_USERS_PARAMS = "\
     useradd -P 1876*18 root; \
    "

Using this in an image recipe doesn't work. Changing it into "usermod -P 1876*18 root;" gives the root user the right password.
Comment 1 Scott Rifenbark 2015-09-17 16:27:28 UTC
Hi, 

I made the small change.  You can see it here: http://www.yoctoproject.org/docs/1.9/ref-manual/ref-manual.html#ref-classes-extrausers.

I am placing the bug in RESOLVED/FIXED state and marking the doc flag to "Done".

Thanks,
Scott
Comment 3 Scott Rifenbark 2015-10-13 17:15:18 UTC
Hi, 

I am not fixing this in the versions prior to 2.0.  Too many "one-off" fixes have been made prior to this and republished to prior releases.  It would require re-doing all previous fixes on a temporary "fix and publish" exercise.

Thanks,
Scott
Comment 4 Bogdan Alexandru Voiculescu 2015-10-14 07:59:37 UTC
Agree! 2.0 is enough.
This is why I set bug as verified (and not reopened).
Comment 5 Scott Rifenbark 2015-10-14 14:27:44 UTC
Thanks Bogdan!