]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
shadow: fix the behavior of su ChenQi/shadow-su
authorChen Qi <Qi.Chen@windriver.com>
Tue, 22 Jul 2014 01:44:54 +0000 (09:44 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Tue, 22 Jul 2014 02:19:26 +0000 (10:19 +0800)
commit3777fcb67381393b494ac5fcb042ba8bc9fa8acb
tree88dd12141b1c73385719d59cb80826142fcb5352
parent6bc3696d8451a23d743daf03ee98c4ba54ce4551
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>
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