首页 > 代码库 > sshd(pam_google_authenticator)[12060]: Failed to read "/root/.google_authenticator"
sshd(pam_google_authenticator)[12060]: Failed to read "/root/.google_authenticator"
Google authenticator 身份验证,用户拒绝解决办法:
Nov 5 09:56:03 aaa6174 unix_chkpwd[1506]: password check failed for user (root) Nov 5 09:56:03 aaa6174 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 aaa6174 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 aaa6174 sshd(pam_google_authenticator)[1537]: Failed to read "/root/.google_authenticator"
解决办法:
setenforce 0
[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
本文出自 “欢迎评论,欢迎点赞” 博客,请务必保留此出处http://swq499809608.blog.51cto.com/797714/1572018
sshd(pam_google_authenticator)[12060]: Failed to read "/root/.google_authenticator"
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。