首页 > 其他 > 详细

sshd(pam_google_authenticator)[12060]: Failed to read "/root/.google_authenticator"

时间:2014-11-05 15:05:53      阅读:295      评论:0      收藏:0      [点我收藏+]

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"

原文:http://swq499809608.blog.51cto.com/797714/1572018

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!