summaryrefslogtreecommitdiffstats
path: root/meta-skeleton/recipes-skeleton
diff options
context:
space:
mode:
Diffstat (limited to 'meta-skeleton/recipes-skeleton')
-rw-r--r--meta-skeleton/recipes-skeleton/useradd/useradd-example.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb b/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
index 53d2340af5..2f8d9b072f 100644
--- a/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
+++ b/meta-skeleton/recipes-skeleton/useradd/useradd-example.bb
@@ -32,7 +32,8 @@ USERADD_PACKAGES = "${PN} ${PN}-user3"
32USERADD_PARAM_${PN} = "-u 1200 -d /home/user1 -r -s /bin/bash user1; -u 1201 -d /home/user2 -r -s /bin/bash user2" 32USERADD_PARAM_${PN} = "-u 1200 -d /home/user1 -r -s /bin/bash user1; -u 1201 -d /home/user2 -r -s /bin/bash user2"
33 33
34# user3 will be managed in the useradd-example-user3 pacakge: 34# user3 will be managed in the useradd-example-user3 pacakge:
35USERADD_PARAM_${PN}-user3 = "-u 1202 -d /home/user3 -r -s /bin/bash user3" 35# As an example, we use the -P option to set clear text password for user3
36USERADD_PARAM_${PN}-user3 = "-u 1202 -d /home/user3 -r -s /bin/bash -P 'user3' user3"
36 37
37# GROUPADD_PARAM works the same way, which you set to the options 38# GROUPADD_PARAM works the same way, which you set to the options
38# you'd normally pass to the groupadd command. This will create 39# you'd normally pass to the groupadd command. This will create