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/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.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/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch b/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch index 88cc5be66c..06222ab04c 100644 --- a/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch +++ b/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch | |||
@@ -10,12 +10,12 @@ Signed-off-by: Scott Garman <scott.a.garman@intel.com> | |||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
11 | 11 | ||
12 | diff --git a/passwd.master b/passwd.master | 12 | diff --git a/passwd.master b/passwd.master |
13 | index b54ff51..e1c32ff 100644 | 13 | index 041685a..31a84d4 100644 |
14 | --- a/passwd.master | 14 | --- a/passwd.master |
15 | +++ b/passwd.master | 15 | +++ b/passwd.master |
16 | @@ -1,4 +1,4 @@ | 16 | @@ -1,4 +1,4 @@ |
17 | -root:*:0:0:root:/root:/bin/sh | 17 | -root:*:0:0:root:/root:/bin/sh |
18 | +root::0:0:root:/root:/bin/sh | 18 | +root::0:0:root:/root:/bin/sh |
19 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | 19 | daemon:*:1:1:daemon:/usr/sbin:/usr/sbin/nologin |
20 | bin:*:2:2:bin:/bin:/bin/sh | 20 | bin:*:2:2:bin:/bin:/usr/sbin/nologin |
21 | sys:*:3:3:sys:/dev:/bin/sh | 21 | sys:*:3:3:sys:/dev:/usr/sbin/nologin |