From owner-freebsd-questions Mon Aug 28 03:00:18 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA17927 for questions-outgoing; Mon, 28 Aug 1995 03:00:18 -0700 Received: from chaos.taylored.com (chaos.taylored.com [206.53.224.28]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA17912 for ; Mon, 28 Aug 1995 03:00:14 -0700 Received: (from nowhere@localhost) by chaos.taylored.com (8.6.11/8.6.9) id FAA07960 for questions@freebsd.org; Mon, 28 Aug 1995 05:00:12 -0500 From: Chael Hall Message-Id: <199508281000.FAA07960@chaos.taylored.com> Subject: Is this a bug? To: questions@freebsd.org Date: Mon, 28 Aug 1995 05:00:11 -0500 (EST) Comment: Your mileage may vary. X-Read-This: If you can't respond, try nowhere@iquest.net instead. X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 799 Sender: questions-owner@freebsd.org Precedence: bulk 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/