Download your favorite Linux distribution at LQ ISO.
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 11-06-2007, 12:03 PM   #1
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.

Using Debian

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

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 01:17 PM   #3
LQ Newbie
Registered: Oct 2007
Posts: 10

Original Poster
Rep: Reputation: 0

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


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 06:31 PM
iPod Nano only shows 'Do not disconnect' andredude Linux - Hardware 4 12-13-2005 07: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 05:03 PM
Help editing /etc/sudoers amer_58 Linux - Newbie 3 07-22-2005 03:17 AM
Help Editing Sudoers File Rubicone Linux - Newbie 2 05-03-2002 01:50 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:57 PM.

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
Open Source Consulting | Domain Registration