FedoraThis forum is for the discussion of the Fedora Project.
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.
Guys please i really need help on this. It's my server we're talking about here.
After using this for about 36hours I get a funny username or password is incorrect. Then I tried my other user account which is not the root and that worked. So, I went to the shell and typed su and what I get is this weired "user root does not exist" message. What could be the problem and what might have caused this because this is the second time this is happening to me. The last time I had to reinstall. i don't want to do that this time. Any help will be greatly appreciated.
The entry is a little strange in that, presuming your box uses a shadow file, there is normally a * in the second field. Also, it's odd that root's home directory is set to / rather than /root. What sort of Linux distro / version are you running?
On the chance that the former is the problem, make a backup of /etc/passwd and then modify the entry to look like:
Then use your favorite editor to edit/save /etc/passwd.
edit: Actually this isn't going to work. If you can't become root, you can't edit /etc/passwd.
You're going to need to boot to single-user mode and then perform this operation. Better still, from single-user mode just set root's password and hopefully the passwd program will be intelligent enough to correct the situation.
Guess what guys....I ran the update with fedora DVD and the root login now works but the seems to be something wrong with the interface. All the links to program ad everyother thing is gone. All i see now is an empty screen and panel with the raising high parachutes. nothing else.
I also noticed some unusual sound when I log on to roots GUI
The correct entry in /etc/passwd on a Fedora 7 box should be...
Specifying / instead of /root loses all the settings in the root users default directory. This is why you lost all your links. By the way it is not advisable to login as root. You should su to root or use sudo from your regular user when you need root access.
It is difficult to determine the original cause of this problem without knowing what kind of maintenance is happening on your system. Does anyone else have root access to the system? If not, retrace your steps to determine when it happened and the possible causes. Otherwise talk it over with anyone else that has access to determine the root cause so to speak.