packages/utils/shadow/patches/001-busybox_ash.patch
tripolar f72f50bac5 [packags] shadow-su: ash doesn't support the renaming of a process like
execve("/bin/ash", ["-su"], [/* 10 vars */]) = 0

the error is also described here but no fix is provided

http://comments.gmane.org/gmane.linux.busybox/33618

fix it by turing off process renaming in login.defs

Signed-off-by: Peter Wagner <tripolar@gmx.at>



git-svn-id: svn://svn.openwrt.org/openwrt/packages@38121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-22 15:28:04 +00:00

14 lines
347 B
Diff

diff --git a/etc/login.defs b/etc/login.defs
index 5b6fab3..79eeccf 100644
--- a/etc/login.defs
+++ b/etc/login.defs
@@ -111,7 +111,7 @@ NOLOGINS_FILE /etc/nologin
# command is "-su". If not defined, then "ps" would display the
# name of the shell actually being run, e.g. something like "-sh".
#
-SU_NAME su
+#SU_NAME su
#
# *REQUIRED*