LinuxQuestions.org
Help answer threads with 0 replies.
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 08-09-2003, 08:02 PM   #1
Fonke0412
LQ Newbie
 
Registered: Aug 2003
Distribution: Redhat 9, Damn Small Linux, Knoppix
Posts: 10

Rep: Reputation: 0
Sudoers


How do I add a person to my Sudoers List in Red Hat 9?
 
Old 08-09-2003, 08:12 PM   #2
spurious
Member
 
Registered: Apr 2003
Location: Vancouver, BC
Distribution: Slackware, Ubuntu
Posts: 558

Rep: Reputation: 31
As root, enter 'visudo' at the console prompt. This is the only way to edit your /etc/sudoers file.

If you want a user to be able to execute sudo without having to enter a password, append the following to your sudoers list:

username NOPASSWD: ALL
 
Old 08-09-2003, 10:28 PM   #3
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
I heard that enabling this nopasswd option is dangerous to your system's security. Can anyone explain why?

-twantrd
 
Old 08-10-2003, 03:54 PM   #4
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Actually it's:

Code:
username  ALL = NOPASSWD : ALL
And yeah you only want to do this for someone you really trust (like, yourself ). It's not a security problem any more than common sense dictates.
 
  


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
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
Regarding SUDOERS hinetvenkat Linux - Networking 1 09-02-2005 01:47 PM
sudoers usa1234 Linux - General 1 10-24-2004 03:07 PM
sudoers........ help linuxlah Linux - General 4 01-14-2003 11:54 PM
help with /etc/sudoers keevitaja Linux - Newbie 5 08-17-2002 01:00 PM

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

All times are GMT -5. The time now is 09:31 AM.

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