It would be great if GNU's id(1) could accept numeric uid/gid arguments
to allow admins to verify reverse lookups for specific uid/gid values,
similar to how OSX/FreeBSD id(1) does, eg:
[freebsd] $ id 0
uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator),
20(staff), 31(guest), 820(pgp), 861(mysql), 862(spamd), 863(postgres),
864(clamav), 1000(users)
[osx 10.4] $ id 0
uid=0(root) gid=0(wheel) groups=0(wheel), 1(daemon), 2(kmem), 3(sys), 4(tty),
29(certusers), 5(operator), 80(admin), 20(staff)
[gnu/linux] $ id 0
id: 0: No such user
This would help admins troubleshoot problems where sometimes
forward lookups work normally, but reverse lookups have failures.
(eg. due to the complexities that nsswitch/pam/LDAP combos introduce)
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils