bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: coreutils 5.2.1 bug: id -Gn


From: Bulgrien, Kevin
Subject: RE: coreutils 5.2.1 bug: id -Gn
Date: Mon, 11 Apr 2005 16:20:21 -0500

Does this have something do do with nsswitch.conf?

$ grep -E "^(passwd|group)" /etc/nsswitch.conf
passwd:     files nisplus nis compat
group:      files nisplus nis compat

> My broken mailer grunged the examples.  I'll append ; to each 
> command so output is more distinguishable, and try again.
> 
> This may not be a source package bug.  I observed this 
> behavior on a Mandrake 10.1 Official box 
> (coreutils-5.2.1-4mdk.i586.rpm) and tried also Mandrake 
> Cooker (coreutils-5.2.1-5mdk.i586.rpm).
> 
> A Gentoo user I know reports that id -Gn ; (5.2.1) appears to 
> work as it should.  I wonder what might cause the broken 
> behavior to occur?
> 
> > Here is 5.2.1 behavior.  Please note the difference in output
> > when id -Gn is invoked with/without a user name.  Is this 
> > fixed in 5.3.0?  I do not see a reference to "id" in the list 
> > of changes, but maybe I missed it.
> > 
> > id -Gn without a user name gives double output for most
> > groups that a user is a member of.
> > 
> > ---
> > 
> > $ id --version
> > id (coreutils) 5.2.1
> > Written by Arnold Robbins and David MacKenzie.
> > 
> > Copyright (C) 2004 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> >  There is NO warranty; not even for MERCHANTABILITY or 
> > FITNESS FOR A PARTICULAR PURPOSE.
>   $ id -Gn ;
>   root adm adm wheel wheel news news apache apache cvs cvs 
> cvsadm cvsadm webadm webadm
>   $ whoami blahblah ;
>   $ id -Gn blahblah ;
>   root adm wheel news apache cvs cvsadm webadm
> > 
> > ---
> > 
> > For reference, please consider this correct behavior from an
> > old version that is consistent in both cases when a user name 
> > is provided and when one is not.
> > 
> > ---
> > 
> > $ id --version
> > id (GNU sh-utils) 2.0.11
> > Written by Arnold Robbins and David MacKenzie.
> > 
> > Copyright (C) 2000 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> >  There is NO warranty; not even for MERCHANTABILITY or 
> > FITNESS FOR A PARTICULAR PURPOSE.
>  
>   $ id -Gn ;
>   blahblah root news cvs cvsadmin webadmin backups
>   $ whoami ;
>   blahblah
>   $ id -Gn blahblah ; 
>   blahblah root news cvs cvsadmin webadmin backups
> > 
> > ---
> > Kevin R. Bulgrien
> > Product Engineer
> > 
> > General Dynamics C4 Systems                   
> > http://www.tripointglobal.com/
> > VertexRSI
> > 1915 Harrison Road                                    Tel: 
> > 903-295-1480 x288
> > Longview, TX 75604-5438                               Fax: 
> > 903-295-1479




reply via email to

[Prev in Thread] Current Thread [Next in Thread]