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.
This commit is contained in:
sin
2013-12-01 10:40:14 +00:00
parent 137ebef3ac
commit dac77d3089
2 changed files with 53 additions and 4 deletions

8
id.1
View File

@@ -1,8 +1,12 @@
.TH ID 1 sbase\-VERSION
.SH NAME
id \- print real and effective user and group IDs
.SH DESCRIPTION
.SH SYNOPSIS
.B id
Print user and group information for the current user.
.RB [ user ]
.SH DESCRIPTION
Print user and group information of the calling process to standard output.
If a login name is specified, the user and group information of that user
is displayed.
.SH SEE ALSO
.IR who(1)