Subject: bin/31069: "id" command shows group 0 twice
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <zafer@gmx.org>
List: netbsd-bugs
Date: 08/25/2005 12:55:00
>Number: 31069
>Category: bin
>Synopsis: "id" command shows group 0 twice
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 25 12:55:00 +0000 2005
>Originator: Zafer Aydogan
>Release: 3.99.8
>Organization:
>Environment:
i386
>Description:
id shows group 0 twice, when invoked with username, when user is member in more than 16 groups.
My /etc/group:
wheel:*:0:root,zafer
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
wsrc:*:9:
maildrop:*:11:
postfix:*:12:
games:*:13:
named:*:14:
ntpd:*:15:
sshd:*:16:
smmsp:*:17:
_pflogd:*:18:
staff:*:20:root
guest:*:31:root
nobody:*:39:
utmp:*:45:
authpf:*:72:
users:*:100:zafer
dialer:*:117:
nogroup:*:32766:
project3:*:1003:zafer
project4:*:1004:zafer
project5:*:1005:zafer
project6:*:1006:zafer
project7:*:1007:zafer
project8:*:1008:zafer
project9:*:1009:zafer
project10:*:1010:zafer
project11:*:1011:zafer
project12:*:1012:zafer
project13:*:1013:zafer
project14:*:1014:zafer
project15:*:1015:zafer
project16:*:1016:zafer
project17:*:1017:zafer
project18:*:1018:zafer
$ whoami
zafer
$ id
uid=1001(zafer) gid=100(users) groups=100(users),0(wheel),1003(project3),1004(project4),1005(project5),1006(project6),1007(project7),1008(project8),1009(project9),1010(project10),1011(project11),1012(project12),1013(project13),1014(project14),1015(project15),1016(project16)
This seems ok.
$ id zafer
uid=1001(zafer) gid=100(users) groups=100(users),0(wheel),1003(project3),1004(project4),1005(project5),1006(project6),1007(project7),1008(project8),1009(project9),1010(project10),1011(project11),1012(project12),1013(project13),1014(project14),1015(project15),1016(project16),1017(project17),0(wheel)
Here group 0 is shown twice and group Project17 is shown.
zafer is Member is 18 groups, should id show all 18 or is there a limitation to 16 ?
>How-To-Repeat:
>Fix: