problem installing cygwin+sshd

Michael bgn7a3m02@sneakemail.com
Sun Feb 18 17:56:00 GMT 2007


Thorsten:
> > > > /var/empty must be owned by root and not group or world-writable.
> > > > --cut--
> > > > $ ssh localhost
> > > > ssh: connect to host localhost port 22: Connection refused
> > > > --cut--
> > > >
> > > > > and "strace  /usr/sbin/sshd -D"
> > > >
> > > > see attached file.
> > > >
> > > > where do I have to look at in the trace-file?
> > >
> > > Nowhere. "/var/empty must be owned by root and not group or world-
> > > writable" - that's pretty clear, isn't it?!
> >
> > I've already recognized this message, but as I wanted to chown to
> > root, I was told that there's no "root"-user in the system...
> >
> > Now I "chown"ed to myself:root and now it works -> sshd is up for one
> > connection ("ssh localhost") and ends when closing the connection.
> >
> > Afterwards I "chown"ed /var/empty/ to SYSTEM:root and again tried to
> > start sshd as a service, but same error-message as before -> did I
> > come closer to the solution, now I know, that sshd works from
> > commandline?
>
> It says "and not group or world-writable" - that's pretty clear, isn't
> it?!
>
I didn't mention, that I checked this too (that was the easier part,
compared to user "root" ;-)).

$ ls -ld /var/empty/
drwx--x--x+ 2 SYSTEM root 0 Feb 15 03:02 /var/empty/

thanks
michael

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list