delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/27/07:11:10

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 <corinna-cygwin AT cygwin DOT com>
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: <announce DOT 416096c61003252303y69f9eaderea6297b507ad5db9 AT mail DOT gmail DOT com> <20100326105007 DOT GU7718 AT calimero DOT vinschen DOT de> <416096c61003262306h1b499b79tb786fb2c20e18668 AT mail DOT gmail DOT com>
MIME-Version: 1.0
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


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