by cbredi » Wed Nov 11, 2015 6:52 pm
It appears that libtirpc upgrade (0.3.2-2 -> 1.0.1-2) broke PAM which is used by sshd:
$this->bbcode_second_pass_code('', 'Jan 01 04:00:21 p1 sshd[492]: PAM unable to dlopen(/usr/lib/security/pam_unix.so): libtirpc.so.1: cannot open shared object file: No such file or directory
Jan 01 04:00:21 p1 sshd[492]: PAM adding faulty module: /usr/lib/security/pam_unix.so
Jan 01 04:00:21 p1 sshd[492]: PAM unable to dlopen(/usr/lib/security/pam_access.so): libtirpc.so.1: cannot open shared object file: No such file or directory
Jan 01 04:00:21 p1 sshd[492]: PAM adding faulty module: /usr/lib/security/pam_access.so
Jan 01 04:00:21 p1 sshd[492]: fatal: Access denied for user root by PAM account configuration [preauth]
')
Can log in after disabling PAM use in sshd by changing $this->bbcode_second_pass_code('', 'UsePAM yes') line in /etc/ssh/sshd_config to $this->bbcode_second_pass_code('', '#UsePAM yes') and restarting sshd with $this->bbcode_second_pass_code('', 'systemctl restart sshd')
Regards,
Cristian