Getting Could not get shadow information for user

Getting the following error in the logs:
Host sshd[15125]: error: Could not get shadow information for myuser
Host sshd[15125]: Failed password for myuser from 192.168.0.253 port 49957 ssh2

Related tags: Linux

Credit: Original Poster

Most likely your sshd is configured to not use pam and you have an authorization scheme setup to use non-local auth.

Check your sshd_config (/etc/ssh/sshd_config), it probably has

UsePam no
Change that to yes and you should be set

Rating: 1

Propose a different solution...