LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-06-2007, 01:03 PM   #1
rushinblue
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
Editing sudoers (shows as new file in nano)


How do I correctly edit the sudoers file?

I have tried nano /etc/sudoers (it says it's a new file)
I thought this was an existing file.

Thanks
Using Debian

Also: When I enter 'visudo' Command not found
 
Old 11-06-2007, 01:10 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
I sounds like you don't have the sudo package installed. It should supply both /etc/sudoers and /usr/sbin/visudo. You should use "visudo" to edit the sudoers file. It performs error checking.
 
Old 11-06-2007, 02:17 PM   #3
rushinblue
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks

Thanks, I thought that was just installed by default. I did do a basic install (network install).
 
  


Reply


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
/etc/sudoers, editing mickeyboa Fedora 2 07-26-2007 07:31 PM
iPod Nano only shows 'Do not disconnect' andredude Linux - Hardware 4 12-13-2005 08:58 PM
I deleted /etc/sudoers and creates a new file call sudoers but now it doesnt for visu abefroman Linux - Software 1 11-10-2005 06:03 PM
Help editing /etc/sudoers amer_58 Linux - Newbie 3 07-22-2005 04:17 AM
Help Editing Sudoers File Rubicone Linux - Newbie 2 05-03-2002 02:50 AM


All times are GMT -5. The time now is 06:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration