diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-16 13:53:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-16 13:53:19 +0200 |
commit | d83aff1aeddeb617f4cd3303bee220306005d0af (patch) | |
tree | f0f8129a77bef1ecd4711b23cb6d38d05618472b /Config.in | |
parent | 3770b6b06168d9971b3583924a6ddf01b28c8745 (diff) | |
download | busybox-w32-d83aff1aeddeb617f4cd3303bee220306005d0af.tar.gz busybox-w32-d83aff1aeddeb617f4cd3303bee220306005d0af.tar.bz2 busybox-w32-d83aff1aeddeb617f4cd3303bee220306005d0af.zip |
busybox.conf: USER.GROUP is _optional_
function old new delta
main 785 809 +24
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 17 |
1 files changed, 10 insertions, 7 deletions
@@ -350,15 +350,17 @@ config FEATURE_SUID_CONFIG | |||
350 | by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) | 350 | by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) |
351 | The format of this file is as follows: | 351 | The format of this file is as follows: |
352 | 352 | ||
353 | APPLET = [Ssx-][Ssx-][x-] USER.GROUP | 353 | APPLET = [Ssx-][Ssx-][x-] [USER.GROUP] |
354 | 354 | ||
355 | s: This user/group are allowed to execute APPLET. | 355 | s: USER or GROUP is allowed to execute APPLET. |
356 | APPLET will run under USER or GROUP | ||
357 | (reagardless of who's running it). | ||
358 | S: USER or GROUP is NOT allowed to execute APPLET. | ||
356 | APPLET will run under USER or GROUP. | 359 | APPLET will run under USER or GROUP. |
357 | x: User/group/others are allowed to execute APPLET. | 360 | This option is not very sensical. |
361 | x: USER/GROUP/others are allowed to execute APPLET. | ||
358 | No UID/GID change will be done when it is run. | 362 | No UID/GID change will be done when it is run. |
359 | S: This user/group are NOT allowed to execute APPLET. | 363 | -: USER/GROUP/others are not allowed to execute APPLET. |
360 | APPLET will run under USER or GROUP. | ||
361 | -: User/group/others are not allowed to execute APPLET. | ||
362 | 364 | ||
363 | An example might help: | 365 | An example might help: |
364 | 366 | ||
@@ -368,7 +370,8 @@ config FEATURE_SUID_CONFIG | |||
368 | su = ssx # exactly the same | 370 | su = ssx # exactly the same |
369 | 371 | ||
370 | mount = sx- root.disk # applet mount can be run by root and members | 372 | mount = sx- root.disk # applet mount can be run by root and members |
371 | # of group disk and runs with euid=0 | 373 | # of group disk (but not anyone else) |
374 | # and runs with euid=0 (egid is not changed) | ||
372 | 375 | ||
373 | cp = --- # disable applet cp for everyone | 376 | cp = --- # disable applet cp for everyone |
374 | 377 | ||