Share your knowledge at the LQ Wiki.
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 12-17-2006, 01:50 PM   #1
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Rep: Reputation: 15
sudo not working, sudoers edited

I su'd and used visudo to edit my sudoers file which has the following

root ALL=(ALL) ALL
noshow ALL=(ALL) ALL

when logged in as noshow and I do "sudo visudo" i get

"noshow is not allowed to run sudo on x17r1. This incident will be reported"

If I add in a Default asking for root password it will prompt me but then tell me im not allowed.

Any solutions?
Old 12-18-2006, 06:19 AM   #2
Senior Member
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I'd suggest checking Slackware's bug tracking system for distro or version specific bugs. FWIW, this Ubuntu system has the following in /etc/sudoers, and sudo works OK:

# User privilege specification
root ALL=(ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
Old 12-18-2006, 07:59 AM   #3
Registered: Sep 2003
Location: Virginia
Distribution: Slackware, CentOS, Red Hat
Posts: 48

Original Poster
Rep: Reputation: 15
That sorta fixed my problem. I had to make my user part of a group and give that group permission to sudo


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
Configuring SUDO for users, a.k.a. sudoers Micro420 Linux - Newbie 10 04-22-2006 12:12 AM
Sudo password for users, a.k.a. sudoers Micro420 SUSE / openSUSE 2 04-21-2006 10:23 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
sudo and sudoers syntax mikemrh9 Linux - Security 7 06-04-2005 08:54 PM
Graphical login not working? Edited inittab... streamalot Linux - General 6 02-22-2002 10:24 AM > Forums > Linux Forums > Linux - Newbie

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