DragonFly On-Line Manual Pages

Search: Section:  


usrinfo(1)             DragonFly General Commands Manual            usrinfo(1)

NAME

usrinfo - Display information about system users.

SYNOPSIS

usrinfo [ -wtnpugdso ] usrinfo [ -wtnpugdso ] [ user ] usrinfo [ -iwtnpugdso ] [ uid ] usrinfo [ -v ] usrinfo [ -h ]

DESCRIPTION

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. A user can specify either web style breaks[by including the -w option] or unix style breaks[default]. Usually a user would want to operate usrinfo with the following options: usrinfo -tnpugdso user Or in the case of calling usrinfo from a webpage: usrinfo -wtnpugdso user

OPTIONS

The "-iwtnpugdso" options may be specified in any order. "-v" and "-h" options are to be specified alone. -i uid By default the username is used to find information about the user; The '-i' option uses the user's uid instead. -w By default unix-style breaks are used; The '-w' option specifies webstyle breaks instead. -t By default topics are turned off; The '-t' options turns topics on. -n Displays the username specified during program initiation. -p Displays the user's encrypted password if rooted; Otherwise a '*' is shown. -u Displays the user's unix identification number. -g Displays the user's group identification number. -d Displays the user's home directory. -s Displays the user's shell. -o Displays other information about the user such as phone- number, etc. -v Displays the program version, website, and creator. -h Displays this help message.

FILES

/usr/local/bin/usrinfo The usrinfo binary. /usr/local/man/man1/usrinfo.1 The usrinfo manpage.

AUTHOR

(c)Aaron Myles Landwehr aaron@snaphat.com assroot@snaphat.com whitehata_zz@yahoo.com 24 June 2004 usrinfo(1)

Search: Section: