Hi guys,
I am trying to set up user accounts on my machine so that I don't have
to run as root. I have added several commands to my sudoers list to
handle things like internet dialup, shutting down the machine etc so
that these commands can run as root still.
My problem is that sudo prompts for the user's password before
performing the command. This is fine for normal command-line stuff,
but I want to run the commands from the background menu in X. What
happens is that sudo blocks on input waiting for the password and
the command is not executed.
Any suggestions to work around this? I thought of using expect to feed
the password in, but that means storing the password somewhere, which is
a bit yuk. I was hoping for some sort of config option to sudo which
would bypass the check, but I don't see anything in the man pages.
------------------------------------------------------------------------------
goblin
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text