patch: make id conform SUSv3 and Coreutils id

walter harms wharms at bfs.de
Thu Sep 11 16:33:30 UTC 2008


When using bb id you see:

  busybox id
uid=1000(walter) gid=100(users)

Coreutils id
uid=1000(walter) gid=100(users) groups=6(disk),14(uucp),16(dialout),33(video),100(users)
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

missing is the extended group list, and for SUSv3 the -G switch that handels it

The patch will add that feature.
The results of "id -G" and "id -Gn" are now compareable to gnu id.

re,
  wh




-------------- next part --------------
A non-text attachment was scrubbed...
Name: id.c.diff
Type: text/x-patch
Size: 2793 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080911/6cece08b/attachment-0002.bin 


More information about the busybox mailing list