diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-05-14 23:14:50 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-16 23:19:18 +0100 |
commit | 0dc16dcfff14ac5cbe672c5539ce1c0ac5b9d5c9 (patch) | |
tree | b0384e94d5fd0d815f3bfde20d605158dfc2eca5 /meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch | |
parent | 126e039eef6a9d3211206b6e44254260c3899cca (diff) | |
download | poky-0dc16dcfff14ac5cbe672c5539ce1c0ac5b9d5c9.tar.gz |
base-passwd: Update to 3.5.52
* Add a patch to allow the use of debconf to be disabled.
* Replace 0007-Disable-generation-of-the-documentation.patch with a new
patch to disable the generation of the documentation using a
configuration option.
* Replace 0006-Disable-shell-for-default-users.patch with a sed
expression that uses a variable, NOLOGIN, to specify what command to
use for users that are not expected to login. This allows to use some
other command than "nologin", e.g., "false". Also, by using
${base_sbindir}, it adheres to usrmerge being configured.
(From OE-Core rev: e7abf63cc8bdc61c8d978b3c21a38e17716fc292)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch b/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch index ea0256684b..09f8cfea9c 100644 --- a/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch +++ b/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch | |||
@@ -12,12 +12,12 @@ Signed-off-by: Scott Garman <scott.a.garman@intel.com> | |||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
13 | 13 | ||
14 | diff --git a/passwd.master b/passwd.master | 14 | diff --git a/passwd.master b/passwd.master |
15 | index a01a6aa..b54ff51 100644 | 15 | index 7cd4e24..041685a 100644 |
16 | --- a/passwd.master | 16 | --- a/passwd.master |
17 | +++ b/passwd.master | 17 | +++ b/passwd.master |
18 | @@ -1,4 +1,4 @@ | 18 | @@ -1,4 +1,4 @@ |
19 | -root:*:0:0:root:/root:/bin/bash | 19 | -root:*:0:0:root:/root:/bin/bash |
20 | +root:*:0:0:root:/root:/bin/sh | 20 | +root:*:0:0:root:/root:/bin/sh |
21 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | 21 | daemon:*:1:1:daemon:/usr/sbin:/usr/sbin/nologin |
22 | bin:*:2:2:bin:/bin:/bin/sh | 22 | bin:*:2:2:bin:/bin:/usr/sbin/nologin |
23 | sys:*:3:3:sys:/dev:/bin/sh | 23 | sys:*:3:3:sys:/dev:/usr/sbin/nologin |