summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
diff options
context:
space:
mode:
authorJiaqing Zhao <jiaqing.zhao@linux.intel.com>2022-04-30 10:48:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-30 22:00:20 +0100
commitb08c60224fad7e9134673f0e18a2a8fdd99ccc1a (patch)
tree9eca1f26b02e728b1cce7985c099703ce88b6420 /meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
parentfc80c5ee16dfa2bfe05da088d7a690af9eb62dcf (diff)
downloadpoky-b08c60224fad7e9134673f0e18a2a8fdd99ccc1a.tar.gz
base-passwd: Disable shell for default users
Change the shell of all global static users other than root (which retains /bin/sh) and sync (as /bin/sync is rather harmless) to /sbin/nologin (as /usr/sbin/nologin does not exist in openembedded) Upstream-Status: Backport [https://launchpad.net/ubuntu/+source/base-passwd/3.5.30] (From OE-Core rev: ba3bc4d7a0a39a96f6e8d340e1b2654d47475f07) Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd_3.5.29.bb')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd_3.5.29.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
index 9a27ad3ab5..ef7792ae49 100644
--- a/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
+++ b/meta/recipes-core/base-passwd/base-passwd_3.5.29.bb
@@ -14,6 +14,7 @@ SRC_URI = "https://launchpad.net/debian/+archive/primary/+files/${BPN}_${PV}.tar
14 file://input.patch \ 14 file://input.patch \
15 file://disable-docs.patch \ 15 file://disable-docs.patch \
16 file://kvm.patch \ 16 file://kvm.patch \
17 file://disable-shell.patch \
17 " 18 "
18 19
19SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421" 20SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421"