Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 27 Nov 2002 16:48:42 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: sshd installation on NT 5.0
Message-ID: <20021127164842.M1398@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <3500515B75D9D311948800508BA37955950978@EX-LONDON> <1yk7izzcc0.fsf@farin.ntc.nokia.com> <1ybs4bz95c.fsf@farin.ntc.nokia.com> <20021127100943.G1398@cygbert.vinschen.de> <1y7kezz5qi.fsf@farin.ntc.nokia.com> <1y3cpnz4l0.fsf@farin.ntc.nokia.com> <1yy97fxozs.fsf@farin.ntc.nokia.com> <20021127121512.J1398@cygbert.vinschen.de> <1yu1i3xlem.fsf@farin.ntc.nokia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1yu1i3xlem.fsf@farin.ntc.nokia.com>
User-Agent: Mutt/1.3.22.1i

On Wed, Nov 27, 2002 at 02:11:13PM +0200, Marc Girod wrote:
> and the "Log on as" account is "Local System account". I assume it is
> sshd which is being started as user "sshd".

No.  sshd is started as SYSTEM, sshd forks a child under sshd account.

Things to check:

- /usr/sbin/sshd.exe, /bin/cygwin1.dll, /bin/cygcrypto.dll, /bin/cygz.dll 
  executable for everyone?

- /etc readable for everyone but only writable by the owner?

- /etc/passwd, /etc/group readable for everyone?

- /etc/passwd and /etc/group contain uid/gid 18 entry for SYSTEM, both
  with SID in either pw_gecos or gr_passwd field?

- /etc/passwd contains sshd entry?

- /etc/ssh* owned by SYSTEM?

- /etc/ssh*key files only writable by owner SYSTEM?

- /var/empty owned by SYSTEM?

- /var/empty permissions only writable by owner SYSTEM?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

