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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-02-2004, 02:10 PM
|
#1
|
LQ Newbie
Registered: Mar 2004
Location: minnesota
Distribution: mandrake 10
Posts: 9
Rep:
|
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...
|
|
|
05-02-2004, 02:17 PM
|
#2
|
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:
|
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 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.
|
|
|
05-02-2004, 02:51 PM
|
#3
|
LQ Newbie
Registered: Mar 2004
Location: minnesota
Distribution: mandrake 10
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
05-02-2004, 03:41 PM
|
#4
|
Senior Member
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Rep:
|
As root, add your user to the "wheel" group. You should have "su" then.
|
|
|
05-02-2004, 09:23 PM
|
#5
|
Member
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|