Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th April 2007, 07:46 PM
frankje Offline
Registered User
 
Join Date: Apr 2007
Posts: 17
not in the sudoers file

Hello,

I tried to use the command sudo but I get the line: Frank is not in the sudoers file.

I don't know how to solve this because I'm new to Fedora.


Thanks in advance, Frank
Reply With Quote
  #2  
Old 18th April 2007, 07:53 PM
lazlow Offline
Registered User
 
Join Date: Aug 2005
Posts: 3,172
Generally, FC does not use sudo (it can be used). Usually you become root with su - (su space dash) and it will ask for root password.
Reply With Quote
  #3  
Old 18th April 2007, 07:56 PM
funknor Offline
Registered User
 
Join Date: May 2005
Location: Texas
Posts: 134
You need to edit the /etc/sudoers file. It should have a section like this:
Code:
## Next comes the main part: which users can run what software on 
## which machines (the sudoers file can be shared between multiple
## systems).
## Syntax:
##
##      user    MACHINE=COMMANDS
##
## The COMMANDS section may have other options added to it.
##
## Allow root to run any commands anywhere 
root    ALL=(ALL)       ALL
yourusername ALL=(ALL) ALL
Reply With Quote
  #4  
Old 18th April 2007, 08:04 PM
spamllama2000 Offline
Registered User
 
Join Date: Dec 2006
Posts: 19
Hey Frank,

You just have to edit the sudoers file. its in the /etc directory, but you'll have to either log in as root or use su - to open/save the file. You'll just need to add your ID into the sudoers file.

Thanks,
Derrick
Reply With Quote
  #5  
Old 19th April 2007, 01:37 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
If you are going to be doing a lot of sudo stuff, it would probably be easier to make yourself part of the wheel group and then uncommenting the line is /etc/sudoers that gives full access to wheel. Doing it that way is easier than maintaining lists of users.

davidj
Reply With Quote
Reply

Tags
file, sudoers

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not in Sudoers File Skoberlink Using Fedora 8 5th September 2008 11:55 AM
Sudoers File? Tutious Using Fedora 1 24th April 2008 04:00 AM
Help with sudoers file Herbman Using Fedora 2 2nd October 2007 07:49 PM
Help with sudoers file joe.pelayo Using Fedora 3 26th March 2007 12:14 AM
sudoers file Robgould Using Fedora 1 8th July 2005 01:00 AM


Current GMT-time: 18:05 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat