Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 1995 05:00:11 -0500 (EST)
From:      Chael Hall <nowhere@chaos.taylored.com>
To:        questions@freebsd.org
Subject:   Is this a bug?
Message-ID:  <199508281000.FAA07960@chaos.taylored.com>

next in thread | raw e-mail | index | archive | help
I just noticed the following behavior with the /usr/bin/id program:

-----
Script started on Mon Aug 28 04:54:34 1995
> id nowhere
uid=20(nowhere) gid=0(staff) groups=0(wheel) 20(staff) 1002(www) 1013(softeng)
> id softeng
uid=1002(softeng) gid=1013(www) groups=1013(softeng)
> cat /etc/group
wheel:*:0:root,nowhere
 ...
staff:*:20:root,nosilla,nowhere,xain
 ...
www:*:1002:bolski,klbarrus,nowhere,xain
 ...
softeng:*:1013:nowhere,softeng,syring,xain
> exit

Script done on Mon Aug 28 04:54:47 1995
-----

     It looks like it's doing a getgrgid() on the UID instead of the GID 
for the user's default group.  This doesn't affect the way anything 
works, it just looks like a bug to me.

Chael

-- 
Chael Hall, nowhere@chaos.taylored.com, nowhere@iquest.net
http://chaos.taylored.com/home/nowhere/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508281000.FAA07960>