chiark / gitweb /
Support for other platforms, notably BSD, and other features, from nCipher.
[chiark-utils.git] / sync-accounts / sync-accounts.example-bsd
diff --git a/sync-accounts/sync-accounts.example-bsd b/sync-accounts/sync-accounts.example-bsd
new file mode 100644 (file)
index 0000000..ccbd275
--- /dev/null
@@ -0,0 +1,31 @@
+lockpasswd runvia vipw
+lockgroup none
+localformat bsd
+logfile /var/log/sync-accounts
+
+uidmin 500
+uidmax 29999
+homebase /home
+defaultshell /usr/local/bin/bash
+
+host fowey
+getpasswd rsh fowey -l syncacct cat /etc/passwd
+getshadow rsh fowey -l syncacct cat /etc/shadow
+getgroup rsh fowey -l syncacct cat /etc/group
+createuser sync-accounts-createuser
+sameuid
+group devel
+
+nousergroups
+user devel
+usergroups
+
+users 500-29999
+
+nogroup *
+nocreateuser
+nousergroups
+nosameuid
+#user root
+
+end