summaryrefslogtreecommitdiff
path: root/busybox/sysdeps
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-07-18 23:51:27 +0000
committerEric Andersen <andersen@codepoet.org>2005-07-18 23:51:27 +0000
commit164a716f964bba247c660bc70149234f95146871 (patch)
tree95a8a6f75cb2ed1bb07cb6019088db7348ebf4d4 /busybox/sysdeps
parent8c59a0bf0e9e2d87b0ff273ea3f0bf05bbbf6373 (diff)
downloadbusybox-w32-164a716f964bba247c660bc70149234f95146871.tar.gz
busybox-w32-164a716f964bba247c660bc70149234f95146871.tar.bz2
busybox-w32-164a716f964bba247c660bc70149234f95146871.zip
busybox-1.0.1-rc1.patch
http://busybox.net/lists/busybox/2005-July/014974.html
Diffstat (limited to 'busybox/sysdeps')
-rw-r--r--busybox/sysdeps/linux/Config.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/busybox/sysdeps/linux/Config.in b/busybox/sysdeps/linux/Config.in
index 744a84d18..0c10de928 100644
--- a/busybox/sysdeps/linux/Config.in
+++ b/busybox/sysdeps/linux/Config.in
@@ -94,14 +94,14 @@ config CONFIG_FEATURE_SUID
94 94
95config CONFIG_FEATURE_SUID_CONFIG 95config CONFIG_FEATURE_SUID_CONFIG
96 bool "Runtime SUID/SGID configuration via /etc/busybox.conf" 96 bool "Runtime SUID/SGID configuration via /etc/busybox.conf"
97 default y if CONFIG_FEATURE_SUID 97 default n if CONFIG_FEATURE_SUID
98 depends on CONFIG_FEATURE_SUID 98 depends on CONFIG_FEATURE_SUID
99 help 99 help
100 Allow the SUID / SGID state of an applet to be determined runtime by 100 Allow the SUID / SGID state of an applet to be determined runtime by
101 checking /etc/busybox.conf. The format of this file is as follows: 101 checking /etc/busybox.conf. The format of this file is as follows:
102 102
103 <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>) 103 <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>)
104 104
105 An example might help: 105 An example might help:
106 106
107 [SUID] 107 [SUID]
@@ -113,6 +113,13 @@ config CONFIG_FEATURE_SUID_CONFIG
113 113
114 cp = --- # disable applet cp for everyone 114 cp = --- # disable applet cp for everyone
115 115
116 The file has to be owned by user root, group root and has to be
117 writeable only by root:
118 (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
119 The busybox executable has to be owned by user root, group
120 root and has to be setuid root for this to work:
121 (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
122
116 Robert 'sandman' Griebl has more information here: 123 Robert 'sandman' Griebl has more information here:
117 <url: http://www.softforge.de/bb/suid.html >. 124 <url: http://www.softforge.de/bb/suid.html >.
118 125