天天看点

owned by root and not group or world-writable

问题描述:

开发反馈在增加Oracle用户后,能PING通主机,Telnet不通对应端口。客户端截图如下:

owned by root and not group or world-writable

问题分析:

可能多用户操作过程中或创建用户设置属组\属主权限的时权限操作失误等;

操作步骤:

1.查看SSH服务状态:

owned by root and not group or world-writable

 注解:Restart服务,发现报告权限错误。

2.使用rpm -V 检查ssh的软件包状态,发现某个目录的属主错误。

 正常环境下检查状态如下:

owned by root and not group or world-writable

 本环境下状态如下:

owned by root and not group or world-writable

3.查看该目录属主权限,并与正常环境下目录做对比。

owned by root and not group or world-writable
owned by root and not group or world-writable

 对比后分析可能是权限问题。

4.修改/var/empty/sshd目录权限:

owned by root and not group or world-writable

备注:部分情况下,可能是属组属主问题,可通过修改属组\属主解决问题。

5. Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable. [FAILED] 问题解决。

欢迎关注微信公众号:小温研习社

owned by root and not group or world-writable

继续阅读