Linux下sshd服务 Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable

Linux下sshd服务 Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable
sshd 为加密登陆,所以有安全方面的要求,权限是不可能对所有的用户开放.所以g和o用户权限为r
Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable.
                                                            [FAILED]
这个是权限的问题
可采取以下两步解决
chown   -R   root:root    /var/empty/sshd
chmod 744 /var/empty/sshd
service sshd restart
就可以解决上述的问题

你可能感兴趣的:(Linux下sshd服务 Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable)