[sudo-users] sudo can't find an executable in my $PATH!
Chris O'Regan
chris at encs.concordia.ca
Sat Nov 1 10:29:48 EDT 2008
> Simply I have script "doit" in /opt/scripts and I want to execute it as roon
> by typing "sudo doit". /opt/scripts is in $PATH both of root and my user.
> It doesn't works! Thing this simple has nearly turned out in a nightmare just
> in trying to make it work and looking for what is wrong :(
> Please answer.
Can you send the output of "sudo doit" as well as "sudo -l"? Also, what
are the file permissions of "doit"?
Chris
More information about the sudo-users
mailing list