summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2013-07-17 14:13:34 +0800
committerSaul Wold <sgw@linux.intel.com>2013-07-18 12:21:13 -0700
commitd9d62e05dba88c1f9f464367d49c1b290bfaea95 (patch)
treea44c6dd074f58b870a434e6703ad7ad34491d502 /meta
parentde5dbfb172aaa4dd31e90e8883e8f68ed1ac86a7 (diff)
downloadopenembedded-core-d9d62e05dba88c1f9f464367d49c1b290bfaea95.tar.gz
openembedded-core-d9d62e05dba88c1f9f464367d49c1b290bfaea95.tar.bz2
openembedded-core-d9d62e05dba88c1f9f464367d49c1b290bfaea95.zip
local.conf.sample.extended: add example for EXTRA_USERS_PARAMS
Add detailed explanation of EXTRA_USERS_PARAMS which is used for image level user/group configuration. [YOCTO #4074] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/local.conf.sample.extended15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended
index ef8fc9e950..f1a91ae6c6 100644
--- a/meta/conf/local.conf.sample.extended
+++ b/meta/conf/local.conf.sample.extended
@@ -214,3 +214,18 @@
# Use the following line to enable the security compiler and linker flags to your build
#require conf/distro/include/security_flags.inc
+# Image level user/group configuration.
+# Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective.
+#INHERIT += "extrausers"
+# User / group settings
+# The settings are sperated by the ; character.
+# Each setting is actually a command. The supported commands are useradd,
+# groupadd, userdel, groupdel, usermod and groupmod.
+#EXTRA_USERS_PARAMS = "\
+#useradd -p '' tester; \
+#groupadd developers; \
+#userdel nobody; \
+#groupdel -g video; \
+#groupmod -g 1020 developers; \
+#usermod -s /bin/sh tester; \
+#"