On Tue, Jan 01, 2008 at 11:42:01PM -0800, James Sparenberg wrote: > Hendrik, > > Actually ping requires root on all systems. Since in order to do > icmp you need to put the nic into a different mode than it runs in > normally. The way it is normally done on every other linux distro is > to do (as root) > > chmod u+s /usr/bin/ping (or /bin/ping on busybox enabled systems) > > This will, yes, set ping as setuid root. If you look at any other > Linux you see that they all run ping setuid root.
If you do that with /bin/ping on busybox-enabled systems, it will set
*all* busybox utils (including /bin/sh) setuid root.
Gun. Foot. Safety off.
Good luck,
Marius Gedminas
--
Sufficiently advanced incompetence is indistinguishable from malice.
-- David Sawford
signature.asc
Description: Digital signature
_______________________________________________ maemo-users mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-users
