From 6032dcdb32b99b5144cd9a8afdd801b6c4f3f873 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 27 Nov 2013 09:13:30 -0800 Subject: ref-manual: Added extrausers class and EXTRA_USERS_PARAMS variable. (From yocto-docs rev: e339505941f620ff74cd1bdd5f652c341baf2aad) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 34 ++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'documentation/ref-manual/ref-variables.xml') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 22a0505523..70d510887a 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -1788,6 +1788,40 @@ + EXTRA_USERS_PARAMS + + + When a recipe inherits the + extrausers + class, this variable provides image level user and group + operations. + This is a more global method of providing user and group + configuration as compared to using the + useradd + class, which ties user and group configurations to a + specific recipe. + + + + The set list of commands you can configure using the + EXTRA_USERS_PARAMS is shown in the + extrausers class. + These commands map to the normal Unix commands of the same + names: + + # EXTRA_USERS_PARAMS = "\ + # useradd -p '' tester; \ + # groupadd developers; \ + # userdel nobody; \ + # groupdel -g video; \ + # groupmod -g 1020 developers; \ + # usermod -s /bin/sh tester; \ + # " + + + + + F -- cgit v1.2.3-54-g00ecf