Bài đăng

Hiển thị các bài đăng có nhãn PAM

authentication failure using SSH pam_unix(sshd:auth): authentication failure;

? when I try connect to another server using ssh, I found an error on /var/log/secure "pam_unix(sshd:auth): authentication failure; "   Oct 30 16:21:59 hvphuc sshd[1923]: pam_unix(sshd:auth): authentication failure ; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.10.20.149  user=hvphuc Oct 30 16:21:59 hvphuc sshd[1923]: pam_sss(sshd:auth): authentication success; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.10.20.149 user=hvphuc Oct 30 16:21:59 hvphuc sshd[1923]: Accepted password for hvphuc from 10.10.20.149 port 56689 ssh2 Oct 30 16:22:01 hvphuc sshd[1923]: pam_unix(sshd:session): session opened for user hvphuc by (uid=0) okay, we know the problem is on the pam module, so we should look at sshd module on pam directory at /etc/pam.d/ at /etc/pam.d/sshd ? 1 2 3 4 5 6 7 8 9 10 auth required pam_sepermit.so auth include password-auth account required pam_nologin.so account include password-auth pa...