delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/25/02:38:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 25 Apr 2001 08:37:48 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ntsec and sshd question
Message-ID: <20010425083748.E23753@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F100y7z5fLd6BT2PlyB000091b8 AT hotmail DOT com>
Mime-Version: 1.0
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 AT 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 AT cygwin DOT com
Red Hat, Inc.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019