On Sun, Dec 30, 2007 at 07:54:44PM +0200, Tuomas Kulve wrote:
> [EMAIL PROTECTED] 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

  #!/bin/sh
  exec /usr/bin/sudo /bin/ping "$@"

with

  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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

Reply via email to