Skip to contentSkip to conversation

local.conf.sample.extended: add USER_GROUP_SETTINGS

PATCH New [email protected] 1 participant 1 message Jul 11, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v3 1/1 local.conf.sample.extended: add USER_GROUP_SETTINGS

From: Chen Qi <[email protected]>

Add detailed explanation of USER_GROUP_SETTINGS which is used for image level user/group configuration.

[YOCTO #4074]

---
 meta-yocto/conf/local.conf.sample.extended |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
meta-yocto/conf/local.conf.sample.extended +18 -0
index 9717439..108e883 100644
@@ -218,3 +218,21 @@
 # Use the following line to enable the security compiler and linker flags to your build
 #require conf/distro/include/security_flags.inc
 
+# Inherit usersettings.bbclass to make setting USER_GROUP_SETTINGS effective
+#INHERIT += "usersettings"
+# User / group settings
+# The settings are sperated by ;
+# Each setting has two fields, which are separated by comma.
+# <CMD>: command used to change the user/group settings, possible values are
+#           groupadd, useradd, groupdel, userdel, groupmod and usermod.
+# <OPT>: options for for the command.
+#USER_GROUP_SETTINGS = "\
+#useradd,-p '' tester; \
+#groupadd,testers; \
+#useradd,developer; \
+#groupadd,developers; \
+#userdel,nobody; \
+#groupdel,-g video; \
+#groupmod,-g 1020 developers; \
+#usermod,-s /bin/sh tester; \
+#"
Signature · 1 line
1.7.9.5