LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   not in the sudoers file? (https://www.linuxquestions.org/questions/slackware-14/not-in-the-sudoers-file-562550/)

underworld288 06-17-2007 10:38 PM

not in the sudoers file?
 
I am trying to run a program as root and typed sudo and the program name, but for some reason the user I'm logged in as isn't in the sudoers file. How do I add the user to the sudoers file?

underworld288 06-17-2007 10:44 PM

nvm, i got around it. Just type in the console su root and type the password to login as root.

rworkman 06-18-2007 12:22 AM

As you've already discovered, Slackware doesn't ship sudo preconfigured as a "magic hammer" - instead, it's (properly) left up to the admin to decide if and by whom and under what conditions sudo will be used. This is pretty much a common thread - unlike some distributions of linux that are mentioned in your signature, Slackware lets *you* be in charge.

dive 06-18-2007 12:48 AM

Just a FYI: to edit the sudoers file use the 'visudo' command as root.


All times are GMT -5. The time now is 05:16 AM.