Bug 7925 - setting a root password
Summary: setting a root password
Status: VERIFIED FIXED
Alias: None
Product: Reference
Classification: Documentation
Component: handbook (show other bugs)
Version: 1.7.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.0
Assignee: Scott Rifenbark
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard: 17 Sept 2015 - RESOLVED/FIXED
Depends on:
Blocks:
 
Reported: 2015-06-26 11:26 UTC by Stefan Mueller-Klieser
Modified: 2015-10-14 14:27 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Done (doc changes complete)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!