[yocto] [yocto-docs][PATCH] ref-manual: fix example of setting root password using extrausers
Paul Eggleton
paul.eggleton at linux.intel.com
Thu Jul 16 03:10:00 PDT 2015
We need to use usermod here not useradd.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
documentation/ref-manual/ref-classes.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index d482ca0..253079d 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -860,7 +860,7 @@
<literallayout class='monospaced'>
inherit extrausers
EXTRA_USERS_PARAMS = "\
- useradd -P 1876*18 root; \
+ usermod -P 1876*18 root; \
"
</literallayout>
</para>
--
2.1.0
More information about the yocto
mailing list