.content-inner-top {
width: 100%;
height: 70%;
-moz-user-select: none;
box-sizing: border-box;
position: relative;
}
#position {
width: 4%;
height: 6.11979%;
background-color: #FF503C;
border: 3px solid #90EE90;
box-shadow: 0px 0px 35px #87CEEB;
position: absolute;
border-radius: 50%;
transform: scaleY(0.75);
left: 85%;
top: 24%;
}
会显示
/var/log/messages
虽然我的密码身份验证已经过时,但我已登录。我使用PAM作为唯一的插件Jul 6 13:00:05 orbit-32 sshd[11517]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.98.106 user=admin
。怎么会这样?
答案 0 :(得分:0)
如果您启用audit
登录pam_unix并允许使用syslog.conf进行调试日志记录,您将看到以下内容:
debug2: input_userauth_request: try method none [preauth]
...
pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.98.106 user=admin
登录方法'none'原来是sshd尝试使用空密码登录。这显然是PAM规范的一部分,有关详细信息,请参阅this。
要解决此问题,请在sshd_config中将PermitEmptyPasswords
设置为“no”。这将阻止sshd尝试针对PAM的空密码。