USER(8)                 OpenBSD System Manager's Manual                USER(8)

NAME
     user - manage user login information on the system

SYNOPSIS
     user add -D [-b base-dir] [-e expiry-time] [-f inactive-time]
          [-g gid/name/=uid] [-L login-class] [-r low..high]
     user add [-mov] [-b base-dir] [-c comment] [-d home-dir] [-e expiry-time]
          [-f inactive-time] [-G secondary-group] [-g gid/name/=uid]
          [-k skel-dir] [-L login-class] [-p password] [-r low..high]
          [-s shell] [-u uid] user
     user del -D [-p preserve-value]
     user del [-prv] user
     user info [-ev] user
     user mod [-mov] [-c comment] [-d home-dir] [-e expiry-time]
          [-f inactive-time] [-G secondary-group] [-g gid/name/=uid]
          [-L login-class] [-l new-login] [-p password] [-s shell] [-u uid]
          user

DESCRIPTION
     The user utility acts as a frontend to the useradd(8), usermod(8),
     userinfo(8), and userdel(8) commands.

     For a full explanation of the options, please see the relevant manual
     page.

     The user utility exits 0 on success, and >0 if an error occurs.

FILES
     /etc/skel/.[A-z]*   Skeleton files for new user
     /etc/usermgmt.conf  Configuration file for user, group(8) and those back-
                         end commands

SEE ALSO
     chpass(1), group(5), passwd(5), usermgmt.conf(5), useradd(8), userdel(8),
     userinfo(8), usermod(8)

STANDARDS
     Other implementations of the user utilities use the inactive-time parame-
     ter to refer to the maximum number of days allowed between logins (this
     is used to lock "stale" accounts that have not been used for a period of
     time).  However, on OpenBSD systems this parameter refers instead to the
     password change time.  This is due to differences in the passwd(5)
     database compared to other operating systems.

HISTORY
     The user utility first appeared in OpenBSD 2.7.

AUTHORS
     The user utility was written by Alistair G. Crooks <agc@NetBSD.org>.

OpenBSD 4.1                    September 5, 2001                             1
