user - manage user login information on the system
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] [-G secondary-group] [-b base-dir] [-c
comment]
[-d home-dir] [-e expiry-time] [-f inactive-time] [-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] [-G secondary-group] [-c comment] [-d
home-dir]
[-e expiry-time] [-f inactive-time] [-g gid/name/=uid]
[-L login-class] [-l new-login] [-p password] [-s
shell] [-u uid]
user
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.
/etc/skel/.[A-z]* Skeleton files for new user
/etc/usermgmt.conf Configuration file for user, group(8)
and those backend
commands
chpass(1), group(5), passwd(5), usermgmt.conf(5), useradd(8), userdel(8),
userinfo(8), usermod(8)
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.
The user utility first appeared in OpenBSD 2.7.
The user utility was written by Alistair G. Crooks
<[email protected]>.
OpenBSD 3.6 September 5, 2001
[ Back ] |