summaryrefslogtreecommitdiff
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-f560422fa079b07a761a572ca4f9cf287c2cc47e.tar.gz
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 @@
//config: help
//config: su is used to become another user during a login session.
//config: Invoked without a username, su defaults to becoming the super user.
-//config:
-//config: Note that Busybox binary must be setuid root for this applet to
+//config: Note that busybox binary must be setuid root for this applet to
//config: work properly.
//config:
//config:config FEATURE_SU_SYSLOG
-//config: bool "Enable su to write to syslog"
+//config: bool "Log to syslog all attempts to use su"
//config: default y
//config: depends on SU
//config:
//config:config FEATURE_SU_CHECKS_SHELLS
-//config: bool "Enable su to check user's shell to be listed in /etc/shells"
-//config: depends on SU
+//config: bool "If user's shell is not in /etc/shells, disallow -s PROG"
//config: default y
+//config: depends on SU
//applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */
//applet:IF_SU(APPLET(su, BB_DIR_BIN, BB_SUID_REQUIRE))