]> code.ossystems Code Review - openembedded-core.git/commit
shadow: fix the behavior of su
authorChen Qi <Qi.Chen@windriver.com>
Tue, 22 Jul 2014 02:32:15 +0000 (10:32 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Jul 2014 20:44:21 +0000 (21:44 +0100)
commitab0115d1b8a0cb0b25bdb14fd2a3e6c6bb9a44f8
tree1a8c3f1f593a3d03aa8d4fb24cb8b494fff88259
parenta085cdf0e2dcf6543f61a8bdf68f83bcf8006373
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>
meta/recipes-extended/shadow/files/0001-su.c-fix-to-exec-command-correctly.patch [new file with mode: 0644]
meta/recipes-extended/shadow/shadow.inc