Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-27-2008, 09:43 AM   #1
LQ Newbie
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
sudo command not working.

I have Fedora 8 installed on my machine and I'm new to the Linux environment. I tried to modify and add my username to the sudoers list
using this command...

echo 'plain_loginname ALL=(ALL) ALL’ >> /etc/sudoers

Now whenever I use sudo command it gives me syntax error at line 94 in /etc/sudoers.

Please help me recovering the command.
Old 02-27-2008, 10:03 AM   #2
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
edit /etc/sudoers add
you will see # %sudo ALL=NOPASSWD: ALL add it under it
the nopasswd is if you dont want to be asked to provide a password anytime you use sudo
Old 02-27-2008, 09:26 PM   #3
LQ Newbie
Registered: Feb 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks...but few more questions.

Thank you for helping me.
But I have few more questions

1.Every time I update Fedora or install something from repoitory, it tells me to insert fedora dvd. How can I avoid that?

2.How do u install tar.gz files??



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
LXer: The Ultimate Sudo FAQ — To Sudo Or Not To Sudo? LXer Syndicated Linux News 13 04-13-2013 02:36 AM
sudo command boy_to_man Linux - Newbie 1 01-05-2007 02:45 AM
SUDO Command help TPAWired Linux - Software 3 08-15-2005 02:50 PM
sudo command not working startproc cmd not found Imajica21 Linux - General 2 04-14-2005 02:22 PM
sudo command usage??? pagadala_cs Linux - Software 1 12-24-2004 11:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration