X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: problem installing cygwin+sshd Date: Sun, 18 Feb 2007 16:59:16 -0000 Lines: 37 Message-ID: References: <4750-32499 AT sneakemail DOT com> <86772a380702170134r4cd6d72dwd588e8adcbd1daec AT mail DOT gmail DOT com> <31389-25452 AT sneakemail DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com * Michael (Sun, 18 Feb 2007 17:49:38 +0100) > Thorston: > > Please refrain from sending me private mail... > Sorry, I didn't want to offend you! - when answering, I deleted the > To: value by mistake and reenterd obviously the wrong address ... You didn't offend me - you just sent your email to an unappropriate address... > > > /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?! -- 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/