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下的權限操作

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章