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>
This commit is contained in:
Paul Eggleton 2015-07-16 11:10:00 +01:00 committed by Richard Purdie
parent 5e357ed88f
commit a894da0dfe
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@
<literallayout class='monospaced'>
inherit extrausers
EXTRA_USERS_PARAMS = "\
useradd -P 1876*18 root; \
usermod -P 1876*18 root; \
"
</literallayout>
</para>