1 From e2e6880587d4ada13e815bf132f21b42a979a607 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
6 /bin/bash may not be included in some images such as minimal.
8 Upstream-Status: Inappropriate [configuration]
9 Signed-off-by: Scott Garman <scott.a.garman@intel.com>
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/passwd.master b/passwd.master
15 index 90514a5..bd3efc2 100644
19 -root:*:0:0:root:/root:/bin/bash
20 +root:*:0:0:root:/root:/bin/sh
21 daemon:*:1:1:daemon:/usr/sbin:/usr/sbin/nologin
22 bin:*:2:2:bin:/bin:/usr/sbin/nologin
23 sys:*:3:3:sys:/dev:/usr/sbin/nologin