Password changes not working?
I have had an odd problem with an email account and a regular account, where I change the password in CPanel (or in terminal via passwd), but I can't log in with that password.
I can't figure out if the user has been blocked or if there's an issue with the password command. I am obviously afraid to change any other passwords.
The password DOES work for the Cpanel login but not for shell which is needed for SFTP.
Any thoughts? Keys aren't working either!
Current version 11.48.1 on CentOS
-
Check /var/log/secure while attempting the shell login or SFTP login. 0 -
]Check /var/log/secure while attempting the shell login or SFTP login.
Oh, do I feel stupid. "User not allowed because not listed in AllowUsers" which is, for those of you coming in via search, in /etc/ssh/sshd_config Now I feel very foolish indeed. Thing is, one takes these basic security precautions, then years pass... I did not even THINK of that log, I'd been wrapped up in firewalls and such. THANK YOU.0 -
Hello :) I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome. 0 -
You're welcome! No need to feel foolish, the logs (almost) always hold your answers :) 0
Please sign in to leave a comment.
Comments
4 comments