Google authenticator 身份验证,用户拒绝解决办法:
1
2
3
4
5
6
7
|
Nov
5
09:
56:
03
aaa
6174
unix_chkpwd[
1506
]: password check failed for user (root)
Nov
5
09:
56:
03
aaa
6174
sshd[
1406
]: pam_unix(sshd:auth): authentication failure; logname= uid=
0
euid=
0
tty
=ssh ruser= rhost=
192.168
.
88.5
user=root
Nov
5
09:
56:
05
aaa
6174
sshd[
1400
]: error: PAM: Cannot make/remove an entry for the specified session for root from
192.168
.
88.5
Nov
5
09:
56:
06
aaa
6174
sshd(pam_google_authenticator)[
1537
]: Failed to read
"/root/.google_authenticator"
|
解决办法:
setenforce 0
1
2
3
4
5
6
7
8
9
10
11
|
[root@athBackup111 openstack]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
|
本文转自 swq499809608 51CTO博客,原文链接:http://blog.51cto.com/swq499809608/1572018