[Bug 3361] id -n -g returns 1 on groups with more then 14 members

bugzilla at busybox.net bugzilla at busybox.net
Fri Mar 11 08:36:57 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=3361

--- Comment #3 from falk <schoenfeld at eurogard.de>  ---
I testet on a OpenWRT  backfire and a OpenSUSE 11.3. Below is the behavior of
openwrt-system. 

With 18 users in a group:

root at devel:~# cat /etc/group
root:x:0:
nogroup:x:65534:
admin:x:100:eurogard
user:x:101:hildgund,klomann,klofrau,milchmann,milchfrau,eiermann,eierfrau,postmann,postfrau,weihnachtsmann,weihnachtsfrau,hasenmann,hasenfrau,muellmann,muellfrau,mechthild,bechterew,miesepeter
root at devel:~# busybox id -n -g milchmann; echo $? 
101
1

Again with 12 user in the same group:

root at devel:~# cat /etc/group
root:x:0:
nogroup:x:65534:
admin:x:100:eurogard
user:x:101:hildgund,klomann,klofrau,milchmann,milchfrau,eiermann,eierfrau,postmann,postfrau,weihnachtsmann,weihnachtsfrau,hasenmann
root at devel:~# busybox id -n -g milchmann; echo $?
user
0
root at devel:~#

You can also see, that the -n option took no effect.

Thanks for reading

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list