> All attempts to login to my server now generate "login incorrect" 
> error msgs.  This applies to all system logins.  Passwords and 
> login names should be correct..
> 
> I used a root disk to login to the system and changed the root 
> password to null.  This allowed me to login as root when the 
> system was rebooted.  I then used passwd cmd to change root 
> password.  
> 
> Even with a new password defined, however, attempts to login as 
> root in another terminal session still generate "login incorrect".

Ahah! I just did that one last night. Things go pear-shaped if you
upgrade to 6.1 and don't have a password defined.

It really doesn't like null passwords, and you want to make sure you've
got the PAM RPM from the 6.1 Updates.

You can play around on the system by typing "linux single" at the LILO:
prompt.

Check using "passwd -S root" that you've actually changed or defined the
password. Chances are that it has reported that passwords were updated,
but that it didn't actually do it.

If you've not got an account with a password, create a new one using
adduser and passwd. This should work, but won't get you root access or
your old account back.

Then edit /etc/passwd and /etc/passwd- so that the new encrypted
password is copied between the two ::'s on the root account (or whatever
account it was). Then use passwd to change the password for that
account. Once it finds a dummy password, passwd will actually change the
passwords.

Reboot, and you're in.

I swore quite a lot that night.

Vik :v)


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to