delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/06/14:26:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 6 Mar 2002 14:25:54 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Suggestion for setup
Message-ID: <20020306192554.GA17204@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <17B78BDF120BD411B70100500422FC6309E4B7 AT IIS000> <20020306175108 DOT GA15442 AT redhat DOT com> <3C8668A2 DOT 4060103 AT DeFaria DOT com>
Mime-Version: 1.0
In-Reply-To: <3C8668A2.4060103@DeFaria.com>
User-Agent: Mutt/1.3.23.1i

On Wed, Mar 06, 2002 at 11:06:10AM -0800, Andrew DeFaria wrote:
>Christopher Faylor wrote:
>>On Wed, Mar 06, 2002 at 06:31:04PM +0100, Bernard Dautrevaux wrote:
>>>Oh, I didn't think at that ;-( Obviously a way to avoid running "mkpasswd
>>>-d" in such a case would be useful. 
>>
>>This is just an issue for first time installations, right?  AFAICT,
>>/etc/passwd should not be produced if there is already a /etc/passwd.
>>Ditto /etc/group.
>
>Not necessary! In fact in most shops that run Windows domains users are
>being added and deleted all the time! If you think about allowing the 
>ability of an arbitrarily new user to be able to telnet into your box 
>for whatever reason then they will not be able to if /etc/passwd's 
>remain static.

The code in setup.exe seems to indicate that mkpasswd and mkgroup will
not be run if the corresponding files already exist.  I was asking if
people were actually seeing this happen after a first-time install.

Even if it is not the case that this only happens the first time you
install cygwin, using setup.exe to upgrade /etc/passwd is really not the
right way to deal with this.  Just run mkpasswd and mkgroup.  There is
no reason to involve setup.exe.

cgf

--
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