[maemo-users] Missing OS2008 cmdline apps (was Re: how to install OS2007?)

From: Marius Gedminas marius at pov.lt
Date: Sun Dec 30 20:15:14 EET 2007
On Sun, Dec 30, 2007 at 07:54:44PM +0200, Tuomas Kulve wrote:
> hendrik at topoi.pooq.com wrote:
> > There's a big difference between setuid root ahd having to be root.
> Ping is just a link to busybox and setting busybox as setuid wouldn't
> probably be a good solution either.

How about a /usr/bin/ping like this

  exec /usr/bin/sudo /bin/ping "$@"


  user ALL = NOPASSWD: /usr/bin/ping

in /etc/sudoers?

In the default $PATH /usr/bin comes before /bin, so it would work.

Marius Gedminas
World domination.  Fast.
		-- Linus Torvalds
-------------- 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/20071230/c9d4a780/attachment.pgp 
More information about the maemo-users mailing list