netbsd man page for userinfo

Query: userinfo

OS: netbsd

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

USERINFO(8)						    BSD System Manager's Manual 					       USERINFO(8)

NAME
userinfo -- displays user information
SYNOPSIS
userinfo [-e] user
DESCRIPTION
The userinfo utility retrieves the user information from the system. The userinfo utility is only available if built with EXTENSIONS. See user(8) for more information. The following command line option is recognised: -e Return 0 if the user exists, and non-zero if the user does not exist, on the system. No information is displayed. This form of the command is useful for scripts which need to check whether a particular user name or uid is already in use on the system. The user argument may either be a user's name, or a uid.
EXIT STATUS
The userinfo utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
passwd(5), group(8), user(8), useradd(8), userdel(8)
HISTORY
The userinfo utility first appeared in NetBSD 1.5. It is based on the addnerd package by the same author.
AUTHORS
The userinfo utility was written by Alistair G. Crooks <agc@NetBSD.org>.
BSD
November 16, 2005 BSD
Related Man Pages
adduser(8) - netbsd
group(8) - netbsd
useradd(8) - netbsd
userinfo(8) - netbsd
usermod(8) - netbsd
Similar Topics in the Unix Linux Community
Call Function in .pm as another user
Infraction for M@tteo: Hacking/Cracking/Warez
Infraction for thillai_selvan: Hacking/Cracking/Warez
Infraction for suresha2lu: Hacking/Cracking/Warez
Infraction for marcell: Threadjacking