avoid using sudo on the commandline

Rick Weinbender lsrwein at central-ph.k12.mo.us
Wed Feb 4 18:15:50 EST 2004

I'm trying to find a way for a regular user to run a bash script
(as root) from the commandline, without having to type the
word 'sudo' in front of the scriptname.
Is this possible?
I found a info clip from the web, but I can't get it to work.

exec /usr/bin/sudo /some/path/to/our/target/prog "$@"

Does that make sense?
Thanks for the help,

More information about the sudo-users mailing list