1 .\" $NetBSD: usermgmt.conf.5,v 1.6 2009/12/31 19:59:31 mlelstv Exp $
3 .\" Copyright (c) 2002 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This document is derived from works contributed to The NetBSD Foundation
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
17 .\" 3. The name of the author may not be used to endorse or promote products
18 .\" derived from this software without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 .\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 .\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 .\" turn off hyphenation
39 .Nd user management tools configuration file
45 file defines the default values used by the user management tools,
49 Options in this file can be set by manually editing
50 .Pa /etc/usermgmt.conf
56 .Bl -tag -width preserveX
58 sets the base directory name, in which new users' home directories
59 are created when using the
64 sets the default login class for new users.
67 for more information on user login classes.
69 sets the default time at which the current password expires.
70 This can be used to implement password aging.
75 fields should be entered in the form
77 where month is the month name (the first three characters are
78 sufficient), day is the day of the month, and year is the year.
79 Time in seconds since the epoch (UTC) is also valid.
80 A value of 0 can be used to disable this feature.
82 sets the default primary group for new users.
85 then a uid and gid will be picked which are both unique
86 and the same, and a line will be added to
88 to describe the new group.
91 .Bd -ragged -offset indent -compact
93 .Ar gid | name | Li =uid
96 sets the default permissions of the newly created home directory if
100 The permission is specified as an octal number, with or without a leading zero.
102 sets the default time at which new accounts expire.
103 A value of 0 can be used to disable this feature.
108 specifies an already-encrypted default password.
110 If this value is one of
113 or a non-zero number, then the user login information will be
114 preserved when removing a user with
117 specifies the uid boundaries for new users.
118 If unspecified, the default is
121 .Bd -unfilled -offset indent -compact
122 .Ic range Ar starting-uid Ns Li .. Ns Ar ending-uid
125 specifies the gid boundaries for new groups.
126 If unspecified, the default is
129 .Bd -unfilled -offset indent -compact
130 .Ic gid_range Ar starting-gid Ns Li .. Ns Ar ending-gid
133 sets the default login shell for new users.
135 sets the default skeleton directory in which to find files
136 with which to populate the new user's home directory.
139 .Bl -tag -width /etc/usermgmt.conf -compact
140 .It Pa /etc/usermgmt.conf
142 .It Pa /etc/login.conf
154 configuration file first appeared in