
我們的一台伺服器不允許非 root 使用者登錄,但 root 可以毫無問題地登入。
以下是來自 的訊息/var/log/secure
:
Jun 24 18:08:43 jonnserver sshd[14470]: debug1: attempt 2 failures 2
Jun 24 18:08:43 jonnserver sshd[14470]: debug1: keyboard-interactive devs
Jun 24 18:08:43 jonnserver sshd[14470]: debug1: auth2_challenge: user=user.name ting=
Jun 24 18:08:43 jonnserver sshd[14470]: debug1: kbdint_alloc: devices 'pam'
Jun 24 18:08:43 jonnserver sshd[14470]: debug1: auth2_challenge_start: trying authentication method 'pam'
Jun 24 18:08:43 jonnserver sshd[14470]: Postponed keyboard-interactive for user.name from 10.10.10.10 port 57775 ssh2
Jun 24 18:08:43 jonnserver sshd[14470]: Received disconnect from 10.10.10.10: 13: Unable to authenticate
Jun 24 18:08:43 jonnserver sshd[14470]: debug1: do_cleanup
Jun 24 18:08:43 jonnserver sshd[14466]: debug1: do_cleanup
Jun 24 18:08:43 jonnserver sshd[14466]: debug1: PAM: cleanup
Jun 24 18:09:01 jonnserver crond[14482]: pam_limits(crond:session): invalid line 'hard core 0' - skipped
Jun 24 18:09:01 jonnserver crond[14483]: pam_limits(crond:session): invalid line 'hard core 0' - skipped