xref: /freebsd/usr.sbin/pw/tests/pw-modified.conf (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*1718a38fSBaptiste Daroussin#
2*1718a38fSBaptiste Daroussin# pw.conf - user/group configuration defaults
3*1718a38fSBaptiste Daroussin#
4*1718a38fSBaptiste Daroussin
5*1718a38fSBaptiste Daroussin# Password for new users? no=nologin yes=loginid none=blank random=random
6*1718a38fSBaptiste Daroussindefaultpasswd = "no"
7*1718a38fSBaptiste Daroussin
8*1718a38fSBaptiste Daroussin# Reuse gaps in uid sequence? (yes or no)
9*1718a38fSBaptiste Daroussinreuseuids = "no"
10*1718a38fSBaptiste Daroussin
11*1718a38fSBaptiste Daroussin# Reuse gaps in gid sequence? (yes or no)
12*1718a38fSBaptiste Daroussinreusegids = "no"
13*1718a38fSBaptiste Daroussin
14*1718a38fSBaptiste Daroussin# Path to the NIS passwd file (blank or 'no' for none)
15*1718a38fSBaptiste Daroussinnispasswd =
16*1718a38fSBaptiste Daroussin
17*1718a38fSBaptiste Daroussin# Obtain default dotfiles from this directory
18*1718a38fSBaptiste Daroussinskeleton = "/usr/share/skel"
19*1718a38fSBaptiste Daroussin
20*1718a38fSBaptiste Daroussin# Mail this file to new user (/etc/newuser.msg or no)
21*1718a38fSBaptiste Daroussinnewmail = "no"
22*1718a38fSBaptiste Daroussin
23*1718a38fSBaptiste Daroussin# Log add/change/remove information in this file
24*1718a38fSBaptiste Daroussinlogfile = "/var/log/userlog"
25*1718a38fSBaptiste Daroussin
26*1718a38fSBaptiste Daroussin# Root directory in which $HOME directory is created
27*1718a38fSBaptiste Daroussinhome = "/home"
28*1718a38fSBaptiste Daroussin
29*1718a38fSBaptiste Daroussin# Mode for the new $HOME directory, will be modified by umask
30*1718a38fSBaptiste Daroussinhomemode = 0777
31*1718a38fSBaptiste Daroussin
32*1718a38fSBaptiste Daroussin# Colon separated list of directories containing valid shells
33*1718a38fSBaptiste Daroussinshellpath = "/bin"
34*1718a38fSBaptiste Daroussin
35*1718a38fSBaptiste Daroussin# Comma separated list of available shells (without paths)
36*1718a38fSBaptiste Daroussinshells = "sh","csh","tcsh"
37*1718a38fSBaptiste Daroussin
38*1718a38fSBaptiste Daroussin# Default shell (without path)
39*1718a38fSBaptiste Daroussindefaultshell = "sh"
40*1718a38fSBaptiste Daroussin
41*1718a38fSBaptiste Daroussin# Default group (leave blank for new group per user)
42*1718a38fSBaptiste Daroussindefaultgroup = ""
43*1718a38fSBaptiste Daroussin
44*1718a38fSBaptiste Daroussin# Extra groups for new users
45*1718a38fSBaptiste Daroussinextragroups =
46*1718a38fSBaptiste Daroussin
47*1718a38fSBaptiste Daroussin# Default login class for new users
48*1718a38fSBaptiste Daroussindefaultclass = ""
49*1718a38fSBaptiste Daroussin
50*1718a38fSBaptiste Daroussin# Range of valid default user ids
51*1718a38fSBaptiste Daroussinminuid = 2000
52*1718a38fSBaptiste Daroussinmaxuid = 5000
53*1718a38fSBaptiste Daroussin
54*1718a38fSBaptiste Daroussin# Range of valid default group ids
55*1718a38fSBaptiste Daroussinmingid = 2100
56*1718a38fSBaptiste Daroussinmaxgid = 6000
57*1718a38fSBaptiste Daroussin
58*1718a38fSBaptiste Daroussin# Days after which account expires (0=disabled)
59*1718a38fSBaptiste Daroussinexpire_days = 0
60*1718a38fSBaptiste Daroussin
61*1718a38fSBaptiste Daroussin# Days after which password expires (0=disabled)
62*1718a38fSBaptiste Daroussinpassword_days = 0
63