summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/files
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2021-08-19 17:56:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-20 08:52:59 +0100
commit736d0b29c6246658a925ea9036ccfe6216d12837 (patch)
treec6f5177e51b7aa552593e2a37c7e81d31faefcfa /meta/recipes-extended/shadow/files
parent45c52f08a289c6eb2329de50634a0406204d1d8e (diff)
downloadopenembedded-core-contrib-736d0b29c6246658a925ea9036ccfe6216d12837.tar.gz
shadow: add /etc/default/useradd
The shadow 4.9 stops shiping /etc/default/useradd[1] and uses built-in settings by default. Some settings are not consistent with previous shadow 4.8.1 in oe-core. e.g. The default shell is /bin/bash rather than /bin/sh. Per shadow 4.8.1 settings, add /etc/default/useradd back. [1] https://github.com/shadow-maint/shadow/commit/bbf4b79bc49fd1826eb41f6629669ef0b647267b Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/files')
-rw-r--r--meta/recipes-extended/shadow/files/useradd8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/files/useradd b/meta/recipes-extended/shadow/files/useradd
new file mode 100644
index 0000000000..782aeef418
--- /dev/null
+++ b/meta/recipes-extended/shadow/files/useradd
@@ -0,0 +1,8 @@
+# useradd defaults file
+GROUP=100
+HOME=/home
+INACTIVE=-1
+EXPIRE=
+SHELL=/bin/sh
+SKEL=/etc/skel
+CREATE_MAIL_SPOOL=no