Skip to contentSkip to conversation

local.conf.sample.extended: add example for setting clear text password

PATCH New [email protected] 1 participant 1 message Dec 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 local.conf.sample.extended: add example for setting clear text password

From: Chen Qi <[email protected]>

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

---
 meta-yocto/conf/local.conf.sample.extended |    6 ++++++
 1 file changed, 6 insertions(+)
meta-yocto/conf/local.conf.sample.extended +6 -0
index 628f14d..bc5f8a9 100644
@@ -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
Signature · 1 line
1.7.9.5