LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-17-2007, 10:38 PM   #1
underworld288
Member
 
Registered: Sep 2006
Distribution: slackware, ubuntu, and kubuntu
Posts: 35

Rep: Reputation: 15
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?
 
Old 06-17-2007, 10:44 PM   #2
underworld288
Member
 
Registered: Sep 2006
Distribution: slackware, ubuntu, and kubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
nvm, i got around it. Just type in the console su root and type the password to login as root.
 
Old 06-18-2007, 12:22 AM   #3
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
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.
 
Old 06-18-2007, 12:48 AM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

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


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
help with sudoers file aarulan Linux - Newbie 4 03-26-2006 10:24 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
sudoers file cactus-bob Linux - Newbie 2 03-11-2004 11:24 AM
help with sudoers file ogden2k Linux - Security 4 03-11-2003 10:39 AM
The Sudoers File Rubicone Linux - Security 0 05-02-2002 06:17 PM


All times are GMT -5. The time now is 05:37 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration