CentOS - sshd: /var/empty/sshd must be owned by root and not group or world-writable
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Ошибка:
# /etc/init.d/sshd restart Stopping sshd: [FAILED] Starting sshd: /var/empty/sshd must be owned by root and not group or world-writable. [FAILED]
# ls -ld /var/empty/sshd drwxrwxrwx 2 root root 4096 Nov 22 2013 /var/empty/sshd # cat /etc/redhat-release CentOS release 6.5 (Final)
Решение - подправить права на эту директорию:
# chown root:root /var/empty/sshd # chmod 711 /var/empty/sshd # ls -ld /var/empty/sshd drwx--x--x 2 root root 4096 Nov 22 2013 /var/empty/sshd # /etc/init.d/sshd start Starting sshd: [ OK ]