[BusyBox] [PATCH] fix docs for CONFIG_FEATURE_SUID_CONFIG
Patrick Huesmann
patrick.huesmann at gmail.com
Wed Apr 27 09:23:00 UTC 2005
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.
--- sysdeps/linux/Config.in.orig 2005-04-27 08:06:37.000000000 +0000
+++ sysdeps/linux/Config.in 2005-04-27 08:45:12.000000000 +0000
@@ -113,6 +113,11 @@
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 >.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: suid_config_patch
Type: application/octet-stream
Size: 691 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20050427/20486ba7/attachment.obj
More information about the busybox
mailing list