summaryrefslogtreecommitdiffstats
path: root/pw/tests/pw.conf
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-06-07 20:44:06 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-06-07 20:44:06 +0000
commitd1593426badd25926a46d772133118bc1d3aab7b (patch)
tree56d4cb38ba7295ac4bfebaa0e5b1f889b8cbb569 /pw/tests/pw.conf
parentacdde8a5fd9f78f37032cd8801a0731e96c5a119 (diff)
downloadpw-darwin-d1593426badd25926a46d772133118bc1d3aab7b.tar.gz
pw-darwin-d1593426badd25926a46d772133118bc1d3aab7b.tar.zst
pw-darwin-d1593426badd25926a46d772133118bc1d3aab7b.zip
Fix generating configuration file
Diffstat (limited to 'pw/tests/pw.conf')
-rw-r--r--pw/tests/pw.conf62
1 files changed, 62 insertions, 0 deletions
diff --git a/pw/tests/pw.conf b/pw/tests/pw.conf
new file mode 100644
index 0000000..4e493f6
--- /dev/null
+++ b/pw/tests/pw.conf
@@ -0,0 +1,62 @@
+#
+# pw.conf - user/group configuration defaults
+#
+
+# Password for new users? no=nologin yes=loginid none=blank random=random
+defaultpasswd = "no"
+
+# Reuse gaps in uid sequence? (yes or no)
+reuseuids = "no"
+
+# Reuse gaps in gid sequence? (yes or no)
+reusegids = "no"
+
+# Path to the NIS passwd file (blank or 'no' for none)
+nispasswd =
+
+# Obtain default dotfiles from this directory
+skeleton = "/usr/share/skel"
+
+# Mail this file to new user (/etc/newuser.msg or no)
+newmail = "no"
+
+# Log add/change/remove information in this file
+logfile = "/var/log/userlog"
+
+# Root directory in which $HOME directory is created
+home = "/home"
+
+# Mode for the new $HOME directory, will be modified by umask
+homemode = 0777
+
+# Colon separated list of directories containing valid shells
+shellpath = "/bin"
+
+# Comma separated list of available shells (without paths)
+shells = "sh","csh","tcsh"
+
+# Default shell (without path)
+defaultshell = "sh"
+
+# Default group (leave blank for new group per user)
+defaultgroup = ""
+
+# Extra groups for new users
+extragroups =
+
+# Default login class for new users
+defaultclass = ""
+
+# Range of valid default user ids
+minuid = 1000
+maxuid = 32000
+
+# Range of valid default group ids
+mingid = 1000
+maxgid = 32000
+
+# Days after which account expires (0=disabled)
+expire_days = 0
+
+# Days after which password expires (0=disabled)
+password_days = 0