diff options
| author | Rob Landley <rob@landley.net> | 2005-04-29 19:48:29 +0000 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2005-04-29 19:48:29 +0000 |
| commit | fdc4c203e54227a2d79fe0a4936ce4bc020e1eff (patch) | |
| tree | 74ffcbdb1949697d2230b0b7a1d3a34a266f7ed0 /sysdeps/linux | |
| parent | 70a5a1abdedabca165deee2dcbe497c5307db1d0 (diff) | |
| download | busybox-w32-fdc4c203e54227a2d79fe0a4936ce4bc020e1eff.tar.gz busybox-w32-fdc4c203e54227a2d79fe0a4936ce4bc020e1eff.tar.bz2 busybox-w32-fdc4c203e54227a2d79fe0a4936ce4bc020e1eff.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.
Diffstat (limited to 'sysdeps/linux')
| -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 | ||
