diff options
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 | 23 |
1 files changed, 23 insertions, 0 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 new file mode 100644 index 0000000000..ea0256684b --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd/0002-Use-bin-sh-instead-of-bin-bash-for-the-root-user.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | From 4411fc0df77566d52bee11ec0bad4be30a96e99e Mon Sep 17 00:00:00 2001 | ||
2 | From: Scott Garman <scott.a.garman@intel.com> | ||
3 | Date: Fri, 29 Apr 2022 13:32:27 +0000 | ||
4 | Subject: [PATCH] Use /bin/sh instead of /bin/bash for the root user | ||
5 | |||
6 | /bin/bash may not be included in some images such as minimal. | ||
7 | |||
8 | Upstream-Status: Inappropriate [configuration] | ||
9 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> | ||
10 | --- | ||
11 | passwd.master | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/passwd.master b/passwd.master | ||
15 | index a01a6aa..b54ff51 100644 | ||
16 | --- a/passwd.master | ||
17 | +++ b/passwd.master | ||
18 | @@ -1,4 +1,4 @@ | ||
19 | -root:*:0:0:root:/root:/bin/bash | ||
20 | +root:*:0:0:root:/root:/bin/sh | ||
21 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
22 | bin:*:2:2:bin:/bin:/bin/sh | ||
23 | sys:*:3:3:sys:/dev:/bin/sh | ||