LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-02-2004, 02:10 PM   #1
phoenixtx
LQ Newbie
 
Registered: Mar 2004
Location: minnesota
Distribution: mandrake 10
Posts: 9

Rep: Reputation: 0
Unhappy root password half-working...


i cannot log in as root, as it won't accept the password. however, if i log in as another user, and i need to access a file that only root has access to, it will accept the password.
what do i do? i've never seen this before... and everyone i've asked has never seen this before either...
 
Old 05-02-2004, 02:17 PM   #2
TheOther1
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Distribution: RHAS 2.1, RHEL3, RHEL4, SLES 8.3, SLES 9, SLES9_64, SuSE 9.3 Pro, Ubuntu, Gentoo
Posts: 335

Rep: Reputation: 32
Are you on the machine or trying to connect remotely? If remotely, root is denied login from ssh by default, I think. If you are actually on the machine, when you login as regular user, what happens if you
Code:
su -
and give root password? If you have lost the root password, you can boot into single user mode and change root password.

See this article for another way...

Here is another thread about recovering root password.
 
Old 05-02-2004, 02:51 PM   #3
phoenixtx
LQ Newbie
 
Registered: Mar 2004
Location: minnesota
Distribution: mandrake 10
Posts: 9

Original Poster
Rep: Reputation: 0
i'm on the machine.
and typing su, then the password, does let into root.

and as for booting into single user and changing the root password, i've already tried that.
 
Old 05-02-2004, 03:41 PM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
As root, add your user to the "wheel" group. You should have "su" then.
 
Old 05-02-2004, 09:23 PM   #5
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
Where are you logging in at, linux console or graphical login? Could it be that your GDM/KDM configuration does not allow root to log in?
For GDM, as root, run gdmconfig, click on Security, check Allow Root to login with GDM.
For KDM, run kcontrol, click on System Administration, Login Manager, go to the Users tab and uncheck root.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Do you have a working Wine Half Life? WingNut Linux - Games 9 10-24-2006 07:46 PM
root password not working for su brenainn Linux - Security 1 10-08-2005 04:40 AM
router only half working. exodist Linux - Networking 0 06-01-2004 03:34 PM
Wheel group only half working ??? Mike25 Linux - Newbie 0 02-21-2003 11:03 PM


All times are GMT -5. The time now is 04:16 AM.

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