diff options
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 | 21 |
1 files changed, 21 insertions, 0 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 new file mode 100644 index 0000000000..06222ab04c --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0003-Remove-for-root-since-we-do-not-have-an-etc-shadow.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | From 13a1a284a134d18a454625a5b4485c0d99079ae9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Garman <scott.a.garman@intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:28 +0000 | ||
4 | Subject: [PATCH] Remove "*" for root since we do not have an /etc/shadow | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
8 | --- | ||
9 | passwd.master | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/passwd.master b/passwd.master | ||
13 | index 041685a..31a84d4 100644 | ||
14 | --- a/passwd.master | ||
15 | +++ b/passwd.master | ||
16 | @@ -1,4 +1,4 @@ | ||
17 | -root:*:0:0:root:/root:/bin/sh | ||
18 | +root::0:0:root:/root:/bin/sh | ||
19 | daemon:*:1:1:daemon:/usr/sbin:/usr/sbin/nologin | ||
20 | bin:*:2:2:bin:/bin:/usr/sbin/nologin | ||
21 | sys:*:3:3:sys:/dev:/usr/sbin/nologin | ||