Admin-Ahead Community

Linux => General Linux => Topic started by: vinayakk on February 08, 2014, 06:29:03 am

Title: Error: Could not get shadow information for root
Post by: vinayakk on February 08, 2014, 06:29:03 am
I was unable to login to the server with my root password.

I got access to the server via kvm and on checking the message logs I got the following error

error: Could not get shadow information for root

Reason  : usepam option was disabled in sshd configuration

fix : open /etc/ssh/sshd_config

change usepam no to usepam yes

restart sshd

 :)