aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-06-23 19:15:40 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-06-23 19:15:40 +0000
commit2051f20d71476d76c1adfbbf16b7065dbb2c5adb (patch)
treed961fb7b68b62bba3cc67b2ac04a5ccc7cf1b7f6
parentcea5cd2539d124f54da42840f793cd7349e514d7 (diff)
downloadbusybox-w32-2051f20d71476d76c1adfbbf16b7065dbb2c5adb.tar.gz
busybox-w32-2051f20d71476d76c1adfbbf16b7065dbb2c5adb.tar.bz2
busybox-w32-2051f20d71476d76c1adfbbf16b7065dbb2c5adb.zip
Enabling runtime SUID/SGID configuration via /etc/busybox.conf
is not a very good default. Better to default to having it off and let people get the default behavior. If they want to enable /etc/busybox.conf they should explicitly ask for it. git-svn-id: svn://busybox.net/trunk/busybox@10566 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--sysdeps/linux/Config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in
index 2a00a17a2..95491c9a0 100644
--- a/sysdeps/linux/Config.in
+++ b/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]