Commit Graph

6 Commits

Author SHA1 Message Date
Rob Pilling d453be2ae1 id(1) can handle uid arguments 2013-12-01 14:29:16 +00:00
Rob Pilling fd8c3b6438 curproc() isn't needed in id(1) 2013-12-01 14:29:01 +00:00
sin dac77d3089 Add support to display user and group info for any user
Currently we only handle login names - it should be trivial to
fix to allow for parsing UIDs as well.
2013-12-01 10:43:56 +00:00
sin 137ebef3ac Factor out code printing information for the current process 2013-12-01 10:43:29 +00:00
sin b5a511dacf Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1
Fixed for consistency purposes.
2013-10-07 16:44:22 +01:00
sin cd592c9f23 Add initial support for id(1) 2013-10-05 14:58:55 +01:00