LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sudoers File Modification (https://www.linuxquestions.org/questions/linux-newbie-8/sudoers-file-modification-739746/)

musclehead 07-13-2009 09:44 AM

Sudoers File Modification
 
I've been trying to setup my sudoers file to allow another user on the machine to execute only a single file with no password authentication. It's the only modified line in my /etc/sudoers file and looks like:

Code:

# User privilege specification
root    ALL=(ALL) ALL
thisGuy  All=(ALL) NOPASSWD:/root/tools/thisTool.sh

This is not working when I try to run that script from the 'thisGuy' account. I'm running RHEL4. Thanks!!

zQUEz 07-13-2009 11:53 AM

"All=(ALL)" won't work because it is supposed to be "ALL=(ALL)"
It is case-sensitive.


All times are GMT -5. The time now is 09:22 PM.