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

前端之家收集整理的这篇文章主要介绍了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下的权限操作

原文链接:https://www.f2er.com/centos/375724.html

猜你在找的CentOS相关文章