diff options
author | Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 2022-04-30 10:48:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-30 21:59:32 +0100 |
commit | ba3bc4d7a0a39a96f6e8d340e1b2654d47475f07 (patch) | |
tree | badadb21c40b79ca86f8f570ff7af5fa9570e5d4 /meta/recipes-core/base-passwd/base-passwd_3.5.29.bb | |
parent | c6d7216772f76af4429fdaaca518858cf014293f (diff) | |
download | openembedded-core-ba3bc4d7a0a39a96f6e8d340e1b2654d47475f07.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]
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.bb | 1 |
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 file://input.patch \ file://disable-docs.patch \ file://kvm.patch \ + file://disable-shell.patch \ " SRC_URI[md5sum] = "6beccac48083fe8ae5048acd062e5421" |