aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-06-23 19:15:40 +0000
committerEric Andersen <andersen@codepoet.org>2005-06-23 19:15:40 +0000
commit5043ea19867a00a4d663442e1238700191291b30 (patch)
treed961fb7b68b62bba3cc67b2ac04a5ccc7cf1b7f6
parent576db48ef0c0fa12ea5677cb0176b3809ebd0ceb (diff)
downloadbusybox-w32-5043ea19867a00a4d663442e1238700191291b30.tar.gz
busybox-w32-5043ea19867a00a4d663442e1238700191291b30.tar.bz2
busybox-w32-5043ea19867a00a4d663442e1238700191291b30.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.
-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]