USERMGMT.CONF(5) | File Formats Manual | USERMGMT.CONF(5) |
usermgmt.conf
—
user management tools configuration file
usermgmt.conf |
The usermgmt.conf
file defines the default
values used by the user management tools,
useradd(8) and friends.
Options in this file can be set by manually editing
/etc/usermgmt.conf or using the
-D
option to
useradd(8).
base_dir
-m
option to
useradd(8).class
expire
group
=uid
’, then a uid and gid will be
picked which are both unique and the same, and a line will be added to
/etc/group to describe the new group. It has the
format:
group
gid | name |
=uid
homeperm
-m
is given to
useradd(8). The permission
is specified as an octal number, with or without a leading zero.inactive
password
preserve
true
’,
‘yes
’, or a non-zero number, then
the user login information will be preserved when removing a user with
userdel(8).range
range
starting-uid..
ending-uid
gid_range
gid_range
starting-gid..
ending-gid
shell
skel_dir
The usermgmt.conf
file uses a simple
syntax format. Each line must contain one option. That option must be in the
front of the line (no spaces). Any number of white spaces such as ' ' and
'\t' may follow. The line ends with a list of options from each.
group wheel base_dir /home/ skel_dir /etc/skel shell /bin/sh inactive 0
login.conf(5), passwd(5), user(8), useradd(8), userdel(8), usermod(8)
The usermgmt.conf
configuration file first
appeared in NetBSD 1.5.
February 9, 2016 | NetBSD 10.99 |