[poky] [PATCH] local.conf.sample.extended: add example for setting clear text password

Qi.Chen at windriver.com Qi.Chen at windriver.com
Tue Dec 10 02:03:02 PST 2013


From: Chen Qi <Qi.Chen at windriver.com>

Add extra information about how to set password in clear text via
EXTRA_USERS_PARAMS.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta-yocto/conf/local.conf.sample.extended |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-yocto/conf/local.conf.sample.extended b/meta-yocto/conf/local.conf.sample.extended
index 628f14d..bc5f8a9 100644
--- a/meta-yocto/conf/local.conf.sample.extended
+++ b/meta-yocto/conf/local.conf.sample.extended
@@ -242,6 +242,12 @@
 #usermod -s /bin/sh tester; \
 #"
 
+# The following -P option is OE specific, it's used to set / modify the password with clear text.
+# The following example modifies the password for root to 'oecore'.
+#EXTRA_USERS_PARAMS += "\
+#usermod -P 'oecore' root; \
+#"
+
 # Enabling FORTRAN
 # Note this is not officially supported and is just illustrated here to
 # show an example of how it can be done
-- 
1.7.9.5



More information about the poky mailing list