Centos对/etc目录非法更改属性之后的异常

[admin@]$ ssh xxx.xxx.xxx.xxx

Auto configuration Failed

140380265600672:error:0200100D:system library:fopen:Permission denied:bss_file.c:169:fopen('/etc/pki/tls/openssl.cnf','rb')

140380265600672:error:2006D002:BIO routines:BIO_new_file:system lib:bss_file.c:174:

140380265600672:error:0E078002:configuration file routines:DEF_LOAD:system lib:conf_def.c:199:

问题导致的原因是对/etc下的目录做了一些变动导致,需要将权限重新设置下

chmod -R 755 /etc/pki

chmod -R 700 /etc/pki/rsyslog

重新尝试即可

千万不要随意更改etc下的权限操作

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native