[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
This commit is contained in:
parent
4689dc8e06
commit
f72f50bac5
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=shadow
|
PKG_NAME:=shadow
|
||||||
PKG_VERSION:=4.1.5.1
|
PKG_VERSION:=4.1.5.1
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://pkg-shadow.alioth.debian.org/releases
|
PKG_SOURCE_URL:=http://pkg-shadow.alioth.debian.org/releases
|
||||||
|
13
utils/shadow/patches/001-busybox_ash.patch
Normal file
13
utils/shadow/patches/001-busybox_ash.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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*
|
Loading…
x
Reference in New Issue
Block a user