[OpenBSD]

Manual Page Search Parameters

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

NAME

usermanage user login information on the system

SYNOPSIS

user add -D [-b base-directory] [-e expiry-time] [-f inactive-time] [-g gid | name | =uid] [-k skel-directory] [-L login-class] [-r low..high] [-s shell]

user add [-mov] [-b base-directory] [-c comment] [-d home-directory] [-e expiry-time] [-f inactive-time] [-G secondary-group[,group,...]] [-g gid | name | =uid] [-k skel-directory] [-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 [-e] user

user mod [-mov] [-c comment] [-d home-directory] [-e expiry-time] [-f inactive-time] [-G secondary-group[,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.

FILES

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

EXIT STATUS

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

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 parameter 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>.
November 29, 2016 OpenBSD-current