This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SSHD /var/empty must be owned by root


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]