alcinnz, I'll see how many more of Shadow's authorization/accounts commandline tools I can cover this morning...
After initializing internationalization, some vars & SysConf
id
validates the count of commandline args (possibly ouputting usage), retrieves the process's user & group IDs followed by the corresponding password/group entries outputting them if non-NULL, possibly iterates over the user's groups looking up & outputting each of them, & cleans up.1/?