X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Thorsten Kampe <thorsten@thorstenkampe.de>
Subject:  Re: problem installing cygwin+sshd
Date:  Sun, 18 Feb 2007 18:42:23 -0000
Lines: 27
Message-ID: <era6mj$tt4$2@sea.gmane.org>
References:  <4750-32499@sneakemail.com> <er5t5e$c7a$1@sea.gmane.org> <86772a380702170134r4cd6d72dwd588e8adcbd1daec@mail.gmail.com> <er73an$s0h$1@sea.gmane.org> <er9t87$61v$1@sea.gmane.org> <er9u3d$d74$1@sea.gmane.org> <31389-25452@sneakemail.com> <era0l8$ahk$1@sea.gmane.org> <29966-88389@sneakemail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset="iso-8859-15"
Content-Transfer-Encoding:  7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

* Michael (Sun, 18 Feb 2007 18:56:03 +0100)
> > > > 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/

...and the "root" group looks suspicious, too. Get rid of that..

Thorsten


--
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/

