LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-29-2004, 10:29 PM   #1
maatghandi
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
Question Problem with "sudo" command on Fedora Core 2


When typing the sudo command to install an rpm, as usual I'm prompted for a password. For some reason, my password doesn't work. If I log out and and back in as root, the password works, but not under the sudo command. Anyone have any suggestions?

Thanks,
Maat
 
Old 10-30-2004, 09:25 AM   #2
jsutton
Member
 
Registered: Nov 2003
Location: Greenville, SC, USA
Distribution: (K)ubuntu 5.04 / Fedora 4
Posts: 113

Rep: Reputation: 15
you need to make sure that the username that you're trying to sudo from is a member of the wheel group, and then you'll need to use 'visudo' to uncomment the appropriate line in the /etc/sudoers file to allow people in the wheel group to sudo. After you get that done, make sure that you are using the USER password, NOT the root password.

If you want to get to a root console from within a user console, you can use the 'su -' command, and then type the root password in order to get a root terminal. Then you can do anything root can do. With this method, you don't have to do any user/group fiddling.

Hope that helps.

Jared
 
  


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
Fedora Core 2: Screen Resolution can not change from "800X600" to "1024X 768" suhaimi_sj Fedora - Installation 18 12-17-2009 03:29 AM
"stalled" problem in " scp" command gentleshark Linux - Networking 1 08-29-2005 12:41 PM
how do I get around the "submit passwd" prompt in ubuntu even if I use "sudo"? t3gah Linux - Distributions 1 02-22-2005 04:42 PM
strange "screen" problem in fedora core 2 sladinki007 Fedora 0 07-27-2004 07:00 AM
Cannot install fedora core 1 or core 2: Initial setup crashes: "Unable to mount root" ovelasco Linux - Newbie 10 07-15-2004 07:19 PM


All times are GMT -5. The time now is 01:39 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