Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-02-2004, 03:10 PM   #1
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, 03:17 PM   #2
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
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, 03:51 PM   #3
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, 04:41 PM   #4
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, 10:23 PM   #5
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.


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 11:28 PM
Do you have a working Wine Half Life? WingNut Linux - Games 9 10-24-2006 08:46 PM
root password not working for su brenainn Linux - Security 1 10-08-2005 05:40 AM
router only half working. exodist Linux - Networking 0 06-01-2004 04:34 PM
Wheel group only half working ??? Mike25 Linux - Newbie 0 02-22-2003 12:03 AM > Forums > Linux Forums > Linux - General

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