LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-27-2008, 08:43 AM   #1
rock.k
LQ Newbie
 
Registered: Feb 2008
Posts: 8

Rep: Reputation: 0
sudo command not working.


Hi
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, 09:03 AM   #2
mahmoud
Member
 
Registered: Apr 2006
Location: UK
Distribution: Mandriva, Debain, Redhat, Fedora, Ubuntu, FreeBSD
Posts: 269

Rep: Reputation: 30
edit /etc/sudoers add
username ALL=(ALL) NOPASSWD:ALL
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, 08:26 PM   #3
rock.k
LQ Newbie
 
Registered: Feb 2008
Posts: 8

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

Hi
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??
 
  


Reply

Tags
fedora


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 01:36 AM
sudo command boy_to_man Linux - Newbie 1 01-05-2007 01:45 AM
SUDO Command help TPAWired Linux - Software 3 08-15-2005 01:50 PM
sudo command not working startproc cmd not found Imajica21 Linux - General 2 04-14-2005 01:22 PM
sudo command usage??? pagadala_cs Linux - Software 1 12-24-2004 10:13 AM


All times are GMT -5. The time now is 02:26 PM.

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