LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-13-2009, 09:44 AM   #1
musclehead
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:

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!!
 
Old 07-13-2009, 11:53 AM   #2
zQUEz
Member
 
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.
 
  


Reply



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
sendmail.cf 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

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