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 8th July 2005, 12:52 AM
Robgould's Avatar
Robgould Offline
Registered User
 
Join Date: Mar 2005
Posts: 141
sudoers file

I tired to follow the instructions to edit my sudoers file in fedora guide. This is how it looks now.

Code:
sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# Runas alias specification

# User privilege specification
root    ALL=(ALL) ALL
rob     ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel        ALL=(ALL)       ALL
# Same thing without a password
# %wheel        ALL=(ALL)       NOPASSWD: ALL

# Samples
# %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users  localhost=/sbin/shutdown -h now
When I exit it says this:

Code:
root@cpe-069-132-167-233 ~]# /usr/sbin/visudo
>>> sudoers file: syntax error, line 1 <<<
Help?

Last edited by Robgould; 8th July 2005 at 12:56 AM.
Reply With Quote
  #2  
Old 8th July 2005, 01:00 AM
Robgould's Avatar
Robgould Offline
Registered User
 
Join Date: Mar 2005
Posts: 141
Never mind....a moment of careful thought after the panic wore off and it's fixed. The line at the top needed to be commented out. I edited it by mistake.
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
not in the sudoers file frankje Using Fedora 4 19th April 2007 01:37 AM
Help with sudoers file joe.pelayo Using Fedora 3 26th March 2007 12:14 AM


Current GMT-time: 07:20 (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