LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sudo not working, sudoers edited (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-not-working-sudoers-edited-511363/)

DIGITAL39 12-17-2006 12:50 PM

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?

hob 12-18-2006 05:19 AM

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

DIGITAL39 12-18-2006 06:59 AM

That sorta fixed my problem. I had to make my user part of a group and give that group permission to sudo


All times are GMT -5. The time now is 09:19 PM.