Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020306194653.4885.qmail@web10502.mail.yahoo.com> Date: Wed, 6 Mar 2002 11:46:53 -0800 (PST) From: Rick Rankin Subject: Re: Suggestion for setup To: cygwin AT cygwin DOT com In-Reply-To: <20020306192554.GA17204@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I've never seen setup run mkpasswd or mkgroup when /etc/passwd or /etc/group exist, so I believe you're right, Chris, in saying that this is just a first time setup issue. Personally, I just didn't want to see a first time user around here get stuck with a 30 minute install process because setup blindly ran mkpasswd -d. --Rick --- Christopher Faylor wrote: > 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/ > __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- 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/