From owner-freebsd-bugs@FreeBSD.ORG Fri Feb 25 17:50:17 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F7316A4CE for ; Fri, 25 Feb 2005 17:50:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37B6B43D5D for ; Fri, 25 Feb 2005 17:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1PHoHNY002418 for ; Fri, 25 Feb 2005 17:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1PHoHpX002417; Fri, 25 Feb 2005 17:50:17 GMT (envelope-from gnats) Resent-Date: Fri, 25 Feb 2005 17:50:17 GMT Resent-Message-Id: <200502251750.j1PHoHpX002417@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Lyons Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D64C516A4CE for ; Fri, 25 Feb 2005 17:45:32 +0000 (GMT) Received: from gt.corserv.com (adsl-66-137-123-97.dsl.hstntx.swbell.net [66.137.123.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3014C43D5C for ; Fri, 25 Feb 2005 17:45:32 +0000 (GMT) (envelope-from klyons@gt.corserv.com) Received: from gt.corserv.com (localhost.corserv.com [127.0.0.1]) by gt.corserv.com (8.13.1/8.13.1) with ESMTP id j1PIqws3000890 for ; Fri, 25 Feb 2005 12:52:58 -0600 (CST) (envelope-from klyons@gt.corserv.com) Received: (from klyons@localhost) by gt.corserv.com (8.13.1/8.13.1/Submit) id j1PIqweH000889; Fri, 25 Feb 2005 12:52:58 -0600 (CST) (envelope-from klyons) Message-Id: <200502251852.j1PIqweH000889@gt.corserv.com> Date: Fri, 25 Feb 2005 12:52:58 -0600 (CST) From: Kevin Lyons To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/78085: id command inconsistency X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kevin Lyons List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Feb 2005 17:50:17 -0000 >Number: 78085 >Category: bin >Synopsis: id command inconsistency >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 25 17:50:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kevin Lyons >Release: FreeBSD 5.3-RELEASE i386 >Organization: >Environment: System: FreeBSD gt.corserv.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: The "id" command truncates the last two groups when invoked without the user argument. >How-To-Repeat: see the report below for how to repeat. >Fix: --- report begins here --- The problem is that the id command does not show all 16 groups when invoked without the user argument. This problem is also on 4.10. Following is some data and the output of the commands. below is snapshot of my /etc/group file in 5.3. # $FreeBSD: src/etc/group,v 1.31 2004/06/23 01:32:28 mlaier Exp $ # wheel:*:0:root,klyons daemon:*:1: kmem:*:2: sys:*:3: tty:*:4: operator:*:5:root mail:*:6: bin:*:7: news:*:8: man:*:9: games:*:13: staff:*:20: sshd:*:22: smmsp:*:25: mailnull:*:26: guest:*:31: bind:*:53: proxy:*:62: authpf:*:63: _pflogd:*:64: uucp:*:66: dialer:*:68: network:*:69: www:*:80: nogroup:*:65533: nobody:*:65534: klyons:*:1001: projects:*:8000:klyons proj1000:*:8001:klyons it:*:8002:klyons pm:*:8003:klyons p001:*:8004:klyons p002:*:8005:klyons eng:*:8006:klyons sr:*:8007:klyons cs:*:8008:klyons proj1001:*:8009:klyons proj1002:*:8010:klyons proj1003:*:8011:klyons foo1:*:8012:klyons foo2:*:8013:klyons foo3:*:8014:klyons foo4:*:8015:klyons foo5:*:8016:klyons foo6:*:8017:klyons foo7:*:8018:klyons foo8:*:8019:klyons foo9:*:8020:klyons --- output of "id" as user klyons---- uid=1001(klyons) gid=1001(klyons) groups=1001(klyons), 0(wheel), 8000(projects), 8001(proj1000), 8002(it), 8003(pm), 8004(p001), 8005(p002), 8006(eng), 8007(sr), 8008(cs), 8009(proj1001), 8010(proj1002), 8011(proj1003) --- output of "id klyons" as user klyons--- uid=1001(klyons) gid=1001(klyons) groups=1001(klyons), 0(wheel), 8000(projects), 8001(proj1000), 8002(it), 8003(pm), 8004(p001), 8005(p002), 8006(eng), 8007(sr), 8008(cs), 8009(proj1001), 8010(proj1002), 8011(proj1003), 8012(foo1), 8013(foo2) --- report ends here --- >Release-Note: >Audit-Trail: >Unformatted: