Date: Fri, 25 Feb 2005 12:52:58 -0600 (CST) From: Kevin Lyons <klyons@corserv.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/78085: id command inconsistency Message-ID: <200502251852.j1PIqweH000889@gt.corserv.com> Resent-Message-ID: <200502251750.j1PHoHpX002417@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502251852.j1PIqweH000889>