diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2014-07-22 10:32:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-23 21:44:21 +0100 |
commit | ab0115d1b8a0cb0b25bdb14fd2a3e6c6bb9a44f8 (patch) | |
tree | 1a8c3f1f593a3d03aa8d4fb24cb8b494fff88259 /meta/recipes-extended/shadow/shadow.inc | |
parent | a085cdf0e2dcf6543f61a8bdf68f83bcf8006373 (diff) | |
download | openembedded-core-ab0115d1b8a0cb0b25bdb14fd2a3e6c6bb9a44f8.tar.gz openembedded-core-ab0115d1b8a0cb0b25bdb14fd2a3e6c6bb9a44f8.tar.bz2 openembedded-core-ab0115d1b8a0cb0b25bdb14fd2a3e6c6bb9a44f8.zip |
shadow: fix the behavior of su
In systems where bash is not installed and /bin/sh is provided by
busybox. Commands like `su -l -c '/home/root/test' xuser' would fail
complaining the the 'su' applet could not be found.
This patch references the old version of shadow to keep the behaviour
the way it was in old version so that we would avoid the problem mentioned
above.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r-- | meta/recipes-extended/shadow/shadow.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc index 66541f4cce..84d1f864b7 100644 --- a/meta/recipes-extended/shadow/shadow.inc +++ b/meta/recipes-extended/shadow/shadow.inc @@ -14,6 +14,7 @@ SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.xz \ file://shadow-4.1.3-dots-in-usernames.patch \ file://usermod-fix-compilation-failure-with-subids-disabled.patch \ file://fix-installation-failure-with-subids-disabled.patch \ + file://0001-su.c-fix-to-exec-command-correctly.patch \ ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ " |