aboutsummaryrefslogtreecommitdiff
path: root/loginutils/su.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-10 14:58:54 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-10 14:58:54 +0100
commitf560422fa079b07a761a572ca4f9cf287c2cc47e (patch)
tree6962fe92683c37e561363eed6da8b60c09842196 /loginutils/su.c
parentf10f7a21d40d5ce0846414973e88602a59d4580e (diff)
downloadbusybox-w32-f560422fa079b07a761a572ca4f9cf287c2cc47e.tar.gz
busybox-w32-f560422fa079b07a761a572ca4f9cf287c2cc47e.tar.bz2
busybox-w32-f560422fa079b07a761a572ca4f9cf287c2cc47e.zip
Big cleanup in config help and description
Redundant help texts (one which only repeats the description) are deleted. Descriptions and help texts are trimmed. Some config options are moved, even across menus. No config option _names_ are changed. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/su.c')
-rw-r--r--loginutils/su.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/loginutils/su.c b/loginutils/su.c
index 24ffbde86..d04b85fb1 100644
--- a/loginutils/su.c
+++ b/loginutils/su.c
@@ -11,19 +11,18 @@
11//config: help 11//config: help
12//config: su is used to become another user during a login session. 12//config: su is used to become another user during a login session.
13//config: Invoked without a username, su defaults to becoming the super user. 13//config: Invoked without a username, su defaults to becoming the super user.
14//config: 14//config: Note that busybox binary must be setuid root for this applet to
15//config: Note that Busybox binary must be setuid root for this applet to
16//config: work properly. 15//config: work properly.
17//config: 16//config:
18//config:config FEATURE_SU_SYSLOG 17//config:config FEATURE_SU_SYSLOG
19//config: bool "Enable su to write to syslog" 18//config: bool "Log to syslog all attempts to use su"
20//config: default y 19//config: default y
21//config: depends on SU 20//config: depends on SU
22//config: 21//config:
23//config:config FEATURE_SU_CHECKS_SHELLS 22//config:config FEATURE_SU_CHECKS_SHELLS
24//config: bool "Enable su to check user's shell to be listed in /etc/shells" 23//config: bool "If user's shell is not in /etc/shells, disallow -s PROG"
25//config: depends on SU
26//config: default y 24//config: default y
25//config: depends on SU
27 26
28//applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */ 27//applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */
29//applet:IF_SU(APPLET(su, BB_DIR_BIN, BB_SUID_REQUIRE)) 28//applet:IF_SU(APPLET(su, BB_DIR_BIN, BB_SUID_REQUIRE))