Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-13-2009, 09:44 AM   #1
LQ Newbie
Registered: Jul 2007
Posts: 11

Rep: Reputation: 0
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:

# User privilege specification
root     ALL=(ALL) ALL
thisGuy  All=(ALL) NOPASSWD:/root/tools/
This is not working when I try to run that script from the 'thisGuy' account. I'm running RHEL4. Thanks!!
Old 07-13-2009, 11:53 AM   #2
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
file modification time graziano1968 Linux - Server 1 08-25-2008 09:06 AM file modification dody1313 Solaris / OpenSolaris 1 07-30-2008 10:25 AM
Track File modification dhammika Programming 1 11-25-2005 06:03 AM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 05:03 PM
file modification in linux nov Linux - Newbie 3 06-05-2005 09:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration