delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/31/11:22:27

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: Tue, 31 Jul 2001 17:16:55 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: "Illegal User" logging into sshd
Message-ID: <20010731171655.I490@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 33 DOT 0107311040200 DOT 26124-100000 AT magetower DOT office DOT aol DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <Pine.GSO.4.33.0107311040200.26124-100000@magetower.office.aol.com>; from prentis@aol.net on Tue, Jul 31, 2001 at 10:43:08AM -0400

On Tue, Jul 31, 2001 at 10:43:08AM -0400, Prentis Brooks wrote:
> Ok, I finally pinpointed the problem, but I don't like my solution.
> 
> Basically, it appears that sshd is not recognizing any changes to /etc/passwd
> since it started.  To solve this I had to connect to the host and stop all
> instances of sshd then restart clean, not pretty and not viable if I want to
> script changes to the passwd files across a farm.  Is there another way to
> get sshd to review the files, will it accept a kill -HUP and if so, how can
> I send the hup, since I can't get the pid from within an ssh session (or is
> there a way I haven't found yet?)

The correct solution would be a patch to the Cygwin DLL itself
to check the file modification date of /etc/passwd and /etc/group
and reload them when appropriate.

A patch would be really welcome.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT 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/

- Raw text -


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