Linux – Root password not working anymore – CentOS

centoslinux

This may be a very basic question, I was logged in as root, and decided to change the password, so used passwd and changed it, later I logged out and can't log back in.. Now I had another ssh user on the system, logged in with that one, used su – and the password that I set for root, and that worked to authenticate me as super user. Why can't I log in with root tho like before?

Coda returns 'User name or password not accepted by server.' I tried passwd root and then change it, but still doesn't work.

Any ideas would be appreciated

Best Answer

Be careful that your password is not refused by the server when you change it with passwd. The password should not be a easy guessable word found in a dictionary for example...

Related Topic