Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 25 Apr 2001 08:37:48 +0200
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ntsec and sshd question
Message-ID: <20010425083748.E23753@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <F100y7z5fLd6BT2PlyB000091b8@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <F100y7z5fLd6BT2PlyB000091b8@hotmail.com>; from karlm30@hotmail.com on Tue, Apr 24, 2001 at 04:22:03PM -0700

On Tue, Apr 24, 2001 at 04:22:03PM -0700, Karl M wrote:
> Hi All...
> 
> I just turned on 'CYGWIN=ntsec tty' and set up my file protections to make 
> sshd happy (running as a srvany service on win2k sp1).
> 
> myname@MACHINENAME ~
> $ ps -aef
>      UID     PID    PPID TTY     STIME COMMAND
>   system     652       1   0  15:39:34 /usr/sbin/sshd
>   system     800       1  -1  15:39:39 /usr/sbin/sshd
>   myname    1272       1   1  15:41:23 /usr/bin/bash
>   myname    1104    1272   1  15:41:30 /usr/bin/ps
> 
> When I rebooted my machine and did a ps, I saw an extra sshd process that I 
> did not see before. ssh/sshd appear to work fine. Why is there an extra sshd 
> process...is it normal...does anyone else have the same thing happen?

It's normal. It's the parent sshd which has been started by
SRVANY and which has forked the daemon. It's not needed
anymore but for some reason SRVANY blocks that the process
can exit. if you stop the service (`net stop sshd') you
will see that SRVANY and the first sshd process have exited
but the daemon itself remains and is fully funtional.

Corinna

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

