Maybe it is just me, but wouldn't bypassing the password for sudo be defeating the purpose of sudo?

I would probably recommend running gtkpod as root, so that you are prompted before it starts then you don't have to enter it on exit...

Sincerely,
Judd Pickell

On 9/9/05, Craig White <craigwhite@azapple.com> wrote:
gonna show my ignorance when it comes to sudo

# tail -n 8 /etc/sudoers
# Cmnd alias specification
Cmnd_Alias IPOD=/sbin/modprobe sbp2
sbp2_force_inquiry_hack=1, /sbin/rmmod sbp2
Cmnd_Alias EJECT=/usr/bin/eject
# User privilege specification
craig   ALL=(ALL) ALL
craig   ALL= NOPASSWD : IPOD
craig   ALL= NOPASSWD : EJECT

$ cat gtkpod.out
#!/bin/sh
#
sudo /usr/bin/eject /dev/sda2
sudo /sbin/modprobe -r sbp2
sudo /usr/bin/eject /dev/sda2

I am trying to get the ipod unmounted automatically at close of gtkpod.
If I launch gtkpod (as user) via cli, I am asked for password when I the
gtkpod.out program.

How can I get it to stop asking for my password?

Craig

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change  you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss