summaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-16 13:19:25 +0200
committerDenys Vlasenko2011-05-16 13:19:25 +0200
commit3770b6b06168d9971b3583924a6ddf01b28c8745 (patch)
treeb765350a7f3c39476e08a63f73455a8e38b0a7ca /Config.in
parent9be4702a304863095d20181b5632ee7e0a4acdc4 (diff)
downloadbusybox-3770b6b06168d9971b3583924a6ddf01b28c8745.zip
busybox-3770b6b06168d9971b3583924a6ddf01b28c8745.tar.gz
main: make busybox.conf mode handling less obscure
function old new delta static.mode_mask - 20 +20 main 782 785 +3 static.mode_chars 15 13 -2 run_applet_no_and_exit 450 441 -9 mode_mask 24 - -24 ------------------------------------------------------------------------------ (add/remove: 2/2 grow/shrink: 1/2 up/down: 41/-53) Total: -12 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in10
1 files changed, 9 insertions, 1 deletions
diff --git a/Config.in b/Config.in
index 38d8f0c..b65fe45 100644
--- a/Config.in
+++ b/Config.in
@@ -350,7 +350,15 @@ config FEATURE_SUID_CONFIG
by checking /etc/busybox.conf. (This is sort of a poor man's sudo.)
The format of this file is as follows:
- <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
+ APPLET = [Ssx-][Ssx-][x-] USER.GROUP
+
+ s: This user/group are allowed to execute APPLET.
+ APPLET will run under USER or GROUP.
+ x: User/group/others are allowed to execute APPLET.
+ No UID/GID change will be done when it is run.
+ S: This user/group are NOT allowed to execute APPLET.
+ APPLET will run under USER or GROUP.
+ -: User/group/others are not allowed to execute APPLET.
An example might help: