diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-29 19:48:29 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-29 19:48:29 +0000 |
commit | ee6d5de9d06fd1ad0b40a224b1fe28ec073ec52f (patch) | |
tree | 74ffcbdb1949697d2230b0b7a1d3a34a266f7ed0 | |
parent | 6b306205c09ec69093618426caef2cc93242b737 (diff) | |
download | busybox-w32-ee6d5de9d06fd1ad0b40a224b1fe28ec073ec52f.tar.gz busybox-w32-ee6d5de9d06fd1ad0b40a224b1fe28ec073ec52f.tar.bz2 busybox-w32-ee6d5de9d06fd1ad0b40a224b1fe28ec073ec52f.zip |
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.
git-svn-id: svn://busybox.net/trunk/busybox@10201 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | sysdeps/linux/Config.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in index e926b5973..2a00a17a2 100644 --- a/sysdeps/linux/Config.in +++ b/sysdeps/linux/Config.in | |||
@@ -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 | ||