diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-07-16 11:10:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-28 13:59:09 +0100 |
commit | a894da0dfe45c2ffe658102f58f706a125776332 (patch) | |
tree | e9d894165763432802ee40decbabdf056378ee1c /documentation | |
parent | 5e357ed88f40e471f7e3b7ea3d697410a9cb980b (diff) | |
download | poky-a894da0dfe45c2ffe658102f58f706a125776332.tar.gz |
ref-manual: fix example of setting root password using extrausers
We need to use usermod here not useradd.
(From yocto-docs rev: 7f4a5523c14304985ab8b277fd5010fd22903dea)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 4eb61c5ba5..e3268a01f3 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -856,7 +856,7 @@ | |||
856 | <literallayout class='monospaced'> | 856 | <literallayout class='monospaced'> |
857 | inherit extrausers | 857 | inherit extrausers |
858 | EXTRA_USERS_PARAMS = "\ | 858 | EXTRA_USERS_PARAMS = "\ |
859 | useradd -P 1876*18 root; \ | 859 | usermod -P 1876*18 root; \ |
860 | " | 860 | " |
861 | </literallayout> | 861 | </literallayout> |
862 | </para> | 862 | </para> |