From 3770b6b06168d9971b3583924a6ddf01b28c8745 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 16 May 2011 13:19:25 +0200 Subject: 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 --- Config.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 38d8f0c53..b65fe4530 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: - = [Ssx-][Ssx-][x-] (|).(|) + 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: -- cgit v1.2.3