*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> userinfo (8)              



NAME    [Toc]    [Back]

     userinfo - displays user information

SYNOPSIS    [Toc]    [Back]

     userinfo [-ev] user

DESCRIPTION    [Toc]    [Back]

     The userinfo utility retrieves the user information from the

     The following command line options are 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

     -v      perform any actions in a verbose manner.

     The user argument may either be a user's name, or a UID.

     The userinfo utility exits 0 if the user name or UID exists,
and non-zero
     if it does not.

FILES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

     passwd(5), usermgmt.conf(5)

HISTORY    [Toc]    [Back]

     The userinfo utility first appeared in OpenBSD 2.7.

AUTHORS    [Toc]    [Back]

     The userinfo utility  was  written  by  Alistair  G.  Crooks

OpenBSD      3.6                        November     30,     1999
[ Back ]
 Similar pages
Name OS Title
quot Tru64 Displays information about user files
logname Tru64 Displays user login name
locale Tru64 Displays information about locales
readelf Linux Displays information about ELF files.
pset_info Tru64 Displays processor set information
readelf FreeBSD Displays information about ELF files.
groupinfo OpenBSD displays group information
show_replica HP-UX Displays attribute information about the specified replica
show_directory HP-UX Displays attribute information about the specified directory
show_clearinghouse HP-UX Displays attribute information about the specified clearinghouse
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service