delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/07/05:00:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 7 Jun 2005 11:00:36 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Login & Something diff since cygwin 1.5.15-1 release - could it be security changes that were made
Message-ID: <20050607090035.GB23172@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <VA DOT 000011ab DOT 0053f8b1 AT thesoftwaresource DOT com> <20050606104023 DOT GG3268 AT calimero DOT vinschen DOT de> <VA DOT 000011af DOT 013e5ade AT thesoftwaresource DOT com>
Mime-Version: 1.0
In-Reply-To: <VA.000011af.013e5ade@thesoftwaresource.com>
User-Agent: Mutt/1.4.2i

On Jun  6 17:02, Brian Keener wrote:
> Corinna Vinschen wrote:
> > There were a couple of security changes in recent releases.  What about 
> > 1.5.17?  Does it solve your problem?  I just tried using login using 
> > my own account and it works correctly.  You should carefully inspect 
> > your /etc/passwd and /etc/group files because recent changes are more 
> > sensitive to wrong entries, especially in relation to group settings. 
> >  
> > Corinna 
> 
> Thanks for the response.  1.5.17 doesn't correct it either. I have tried each
> release since 1.5.14 and and always end up rolling back to 1.5.14.  I even
> tried simply accessing the bash prompt and then running login from there
> (without running it directly from cygwin.bat) and it still says Login
> Incorrect .
> 
> Based on your results I will go back and review /etc/passwd and /etc/group as
> you suggest and see what I can find.  I'm going to have to do a little
> digging it looks like - I updated to 1.5.17, removed my passwd and group file
> and rebuilt using:
> 
> mkgroup -l >/etc/group mkpasswd -l -p "/$HOME" >/etc/passwd
> 
> still won't login.  Then I rebuilt them with 
> 
> mkgroup -d >/etc/group mkpasswd -d -p "/$HOME" >/etc/passwd

Woops.  Are you using domain accounts or local accounts?  The group
file should match what you have in your passwd file.  Do you, by
any chance, have different gids used in passwd as in group?

> but sill no luck either from cygwin.bat or just login from the shell prompt.
> I'll keep digging.  Not sure what to look at now though.

Dunno what I shall say here.  I tried it with an admin account as well
as with an unprivileged account and I checked what you described, giving
different Cygwin-names to the same account with just different shells in
the /etc/passwd file.  I didn't make any other changes to /etc/passwd
or /etc/group so having an otherwise basic setup, it works fine for me.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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