Missing OS2008 cmdline apps (was Re: how to install OS2007?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20080102/2865f250/attachment.pgp 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux