SSHD /var/empty must be owned by root
Gyurmo
nxmgvxh@spamfalo.hu
Tue Apr 24 07:11:00 GMT 2012
Hello,
I have:
[code]
$ /usr/sbin/sshd.exe -D
/var/empty must be owned by root and not group or world-writable.
[/code]
I can I have a trivial error. But I cannot google it. Please help me.
This is mine environment:
[code]
$ ls -l /etc/ssh*
-rw-r--r-- 1 SYSTEM Rendszergazdák 1555 ápr. 24 08.17 /etc/ssh_config
-rw-r--r-- 1 SYSTEM Rendszergazdák 1763 febr. 13 13.54 /etc/ssh_config_1.txt
-rw-r--r-- 1 SYSTEM Rendszergazdák 668 2011 máj. 29 /etc/ssh_host_dsa_key
-rw-r--r-- 1 SYSTEM Rendszergazdák 602 2011 máj. 29 /etc/ssh_host_dsa_key.pub
-rw-r--r-- 1 SYSTEM Rendszergazdák 227 2011 máj. 29 /etc/ssh_host_ecdsa_key
-rw-r--r-- 1 SYSTEM Rendszergazdák 174 2011 máj. 29
/etc/ssh_host_ecdsa_key.pub
-rw-r--r-- 1 SYSTEM Rendszergazdák 977 2011 máj. 29 /etc/ssh_host_key
-rw-r--r-- 1 SYSTEM Rendszergazdák 642 2011 máj. 29 /etc/ssh_host_key.pub
-rw-r--r-- 1 SYSTEM Rendszergazdák 1675 2011 máj. 29 /etc/ssh_host_rsa_key
-rw-r--r-- 1 SYSTEM Rendszergazdák 394 2011 máj. 29 /etc/ssh_host_rsa_key.pub
-rw-r--r-- 1 SYSTEM Rendszergazdák 3344 ápr. 24 08.18 /etc/sshd_config
-rw-r--r-- 1 SYSTEM Rendszergazdák 3188 2011 aug. 24 /etc/sshd_config.bac
[/code]
[code]
$ getfacl.exe /var/empty/
# file: /var/empty/
# owner: root
# group: SYSTEM
user::rwx
group::r-x
mask:rwx
other:r-x
default:user::rwx
default:group::r-x
default:other:r-x
[/code]
[code]
$ cat /etc/passwd | grep sshd
sshd:unused:1010:513:sshd,U-KILOVES\sshd,S-1-5-21-1844237615-1801674531-839522115-1010:/var/empty:/bin/false
[/code]
And I have an user sshd name grouped with administrators and folder is
c:\cygwin\var\empty defined in windows.
What other things need I do.
I wait for your help.
Thanks
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list