Incorrect Login for root

Ben Russo ben at muppethouse.com
Mon Dec 20 19:50:21 UTC 2004


V.V.Prasad wrote:
>>> When I try root login, I get Incorrect Login.
>>> I enter through Lilo and Linux single mode and change the root 
>>> password. However, when I exit single user and try to login again as 
>>> root, I get the same result: Incorrect Login.


Hmmm, when you set the password in Single User Mode, did you run "sync"
and gracefully restart the server?
If not, then the change of the password might not ever have made it to disk.

One other thing you might try (just to make this easier)
When in Single-User-Mode, edit the /etc/sudoers file and give one of the
known-good-login users privs to run "sudo /bin/su -" so that you don't
have to reboot a gazillion times to find the problem.

-Ben.




More information about the redhat-list mailing list