unix_chkpwd password check failed for user root
unix_chkpwd password check failed for user root
SYMPTOMS
Mar 4 16:29:15 localhost sshd[5918]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.3.44 user=root |
CAUSE
The /etc/ssh/sshd_config file disables root from using the password to log in.
PermitRootLogin prohibit-password
SOLUTION
sed -i '/^PermitRootLogin/s/Perm/#Perm/' /etc/ssh/sshd_config |
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.