| 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).classexpiregroup=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 |
=uidhomeperm-m is given to
useradd(8). The permission
is specified as an octal number, with or without a leading zero.inactivepasswordpreservetrue’,
‘yes’, or a non-zero number, then
the user login information will be preserved when removing a user with
userdel(8).rangerangestarting-uid..ending-uid
gid_rangegid_rangestarting-gid..ending-gid
shellskel_dirThe 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 11.0 |