summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRob Landley2005-04-29 19:48:29 +0000
committerRob Landley2005-04-29 19:48:29 +0000
commitfdc4c203e54227a2d79fe0a4936ce4bc020e1eff (patch)
tree74ffcbdb1949697d2230b0b7a1d3a34a266f7ed0 /sysdeps
parent70a5a1abdedabca165deee2dcbe497c5307db1d0 (diff)
downloadbusybox-fdc4c203e54227a2d79fe0a4936ce4bc020e1eff.zip
busybox-fdc4c203e54227a2d79fe0a4936ce4bc020e1eff.tar.gz
On Wednesday 27 April 2005 05:23 am, Patrick Huesmann wrote:
> This is really confusing for users who don't know all details of the > *nix file permission system. > Today, I changed my busybox system to use CONFIG_FEATURE_SUID_CONFIG. > After fighting with the file permissions for hours, I decided that > updating the documentation might be a good idea.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/linux/Config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in
index e926b59..2a00a17 100644
--- a/sysdeps/linux/Config.in
+++ b/sysdeps/linux/Config.in
@@ -113,6 +113,13 @@ config CONFIG_FEATURE_SUID_CONFIG
cp = --- # disable applet cp for everyone
+ The file has to be owned by user root, group root and has to be
+ writeable only by root:
+ (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf)
+ The busybox executable has to be owned by user root, group
+ root and has to be setuid root for this to work:
+ (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox)
+
Robert 'sandman' Griebl has more information here:
<url: http://www.softforge.de/bb/suid.html >.