微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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.jb51.cc/centos/375724.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。