.TH usrinfo 1 "24 June 2004" .SH NAME .B usrinfo - Display information about system users. .SH SYNOPSIS .PP .B usrinfo [ .B -wtnpugdso ] .PP .B usrinfo [ .B -wtnpugdso ] [ .I user ] .PP .B usrinfo [ .B -iwtnpugdso ] [ .I uid ] .P .B usrinfo [ .B -v ] .PP .B usrinfo [ .B -h ] .SH DESCRIPTION .PP .B usrinfo [coded in c++] displays information about a user via command line. The current version includes arguments for username, encrypted password, unix identification number, group identification number, home directory, shell, and other Information. .PP A user can specify either web style breaks[by including the -w option] or unix style breaks[default]. .PP Usually a user would want to operate .B usrinfo with the following options: .PP .B "usrinfo -tnpugdso .B user .B " .PP Or in the case of calling .B usrinfo from a webpage: .PP .B "usrinfo -wtnpugdso .B user .B " .SH OPTIONS .PP The "-iwtnpugdso" options may be specified in any order. "-v" and "-h" options are to be specified alone. .TP 12 .B -i uid By default the username is used to find information about the user; The '-i' option uses the user's uid instead. .TP .B -w By default unix-style breaks are used; The '-w' option specifies webstyle breaks instead. .TP .B -t By default topics are turned off; The '-t' options turns topics on. .TP .B -n Displays the username specified during program initiation. .TP .B -p Displays the user's encrypted password if rooted; Otherwise a '*' is shown. .TP .B -u Displays the user's unix identification number. .TP .B -g Displays the user's group identification number. .TP .B -d Displays the user's home directory. .TP .B -s Displays the user's shell. .TP .B -o Displays other information about the user such as phone-number, etc. .TP .B -v Displays the program version, website, and creator. .TP .B -h Displays this help message. .SH FILES .TP .B /usr/local/bin/usrinfo The usrinfo binary. .TP .B /usr/local/man/man1/usrinfo.1 The usrinfo manpage. .SH AUTHOR (c)Aaron Myles Landwehr aaron@snaphat.com assroot@snaphat.com whitehata_zz@yahoo.com