summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/base-passwd/base-passwd-3.5.26/nobash.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd-3.5.26/nobash.patch')
-rw-r--r--meta/recipes-core/base-passwd/base-passwd-3.5.26/nobash.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.26/nobash.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.26/nobash.patch
new file mode 100644
index 0000000000..6371576440
--- /dev/null
+++ b/meta/recipes-core/base-passwd/base-passwd-3.5.26/nobash.patch
@@ -0,0 +1,23 @@
1use /bin/sh instead of /bin/bash, since the latter may not be included in
2some images such as minimal
3
4comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
5
6remove "*" for root since we don't have a /etc/shadow so far.
7
8by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
9
10Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
11
12Upstream-Status: Invalid [configuration]
13
14Signed-off-by: Scott Garman <scott.a.garman@intel.com>
15
16--- base-passwd/passwd.master~nobash
17+++ base-passwd/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