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:
parent
5e357ed88f
commit
a894da0dfe
|
@ -856,7 +856,7 @@
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
inherit extrausers
|
inherit extrausers
|
||||||
EXTRA_USERS_PARAMS = "\
|
EXTRA_USERS_PARAMS = "\
|
||||||
useradd -P 1876*18 root; \
|
usermod -P 1876*18 root; \
|
||||||
"
|
"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
Loading…
Reference in New Issue