X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 27 Mar 2010 13:10:54 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] mintty-0.6.1-1 Message-ID: <20100327121054.GA7718@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20100326105007 DOT GU7718 AT calimero DOT vinschen DOT de> <416096c61003262306h1b499b79tb786fb2c20e18668 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <416096c61003262306h1b499b79tb786fb2c20e18668@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Mar 27 06:06, Andy Koppe wrote: > Corinna Vinschen: > >> - Fall back to /bin/bash rather than /bin/sh if no shell is specified > >> otherwise. This is for the benefit of Windows domain account users, > >> for whom Cygwin setup does not create /etc/passwd entries by default. > > > > Wouldn't it be more helpful to open a MessageBox like this: > > > > "Your user account has no /etc/passwd entry.  Ask your lazy administrator > >  to add it.  And tell her not to forget to add the domain groups to > >  /etc/group while being at it." > > :) > > I was just trying to dodge complaints about not getting the full > prompt and .bashrc or .bash_profile not being sourced. Didn't mean to > imply that setup should query the domain user database. I didn't imply this either. The fact that the current user has an invalid uid ((uid_t) -1) should be enough to allow to create that MessageBox. I was just wondering if that wouldn't help to point more people to problems in their /etc/passwd, /etc/group setup. Well, it's just a suggestion. > And /etc/profile warns > about the missing /etc/passwd entry anyway. Nevertheless, I'm always puzzled how many people still have broken /etc/passwd and /etc/group files. Apparently the /etc/profile message as well as the pseudo groups "mkpasswd" and "mkgroup" used in `ls' or `id' output are unscrupulously ignored. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple