全部博文(125)
分类: LINUX
2010-08-12 11:44:58
/var/empty/sshd must be owned by root and not group or world-writable.
经查看发现这个目录的属主不是root,所以启动ssh报错
-bash-2.05b# ls -ld /var/empty/sshd/
d--x--x--x 2 vu00106 root 1024 Feb 2 2005 /var/empty/sshd/
修改为root属主,启动成功
-bash-2.05b# chown root /var/empty/sshd/
另外,还可以尝试:
chown -R root.root /var/empty/sshd
chmod 744 /var/empty/sshd
service sshd restart