diff options
Diffstat (limited to 'meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch')
-rw-r--r-- | meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch b/meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch new file mode 100644 index 0000000000..52650166f8 --- /dev/null +++ b/meta/recipes-core/base-passwd/base-passwd-3.5.22/nobash.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | # use /bin/sh instead of /bin/bash, since the latter may not be included in | ||
2 | # some images such as minimal | ||
3 | # | ||
4 | # comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
5 | # | ||
6 | # remove "*" for root since we don't have a /etc/shadow so far. | ||
7 | # | ||
8 | # by Kevin Tian <kevin.tian@intel.com>, 2010-07-06 | ||
9 | # | ||
10 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
11 | # | ||
12 | |||
13 | --- base-passwd/passwd.master~nobash | ||
14 | +++ base-passwd/passwd.master | ||
15 | @@ -1,4 +1,4 @@ | ||
16 | -root:*:0:0:root:/root:/bin/bash | ||
17 | +root::0:0:root:/root:/bin/sh | ||
18 | daemon:*:1:1:daemon:/usr/sbin:/bin/sh | ||
19 | bin:*:2:2:bin:/bin:/bin/sh | ||
20 | sys:*:3:3:sys:/dev:/bin/sh | ||