chiark / gitweb /
make man1dir
[chiark-utils.git] / sync-accounts / sync-accounts.example-bsd
1 # This is an example /etc/sync-accounts for BSD.
2
3 lockpasswd runvia vipw
4 lockgroup none
5 localformat bsd
6 logfile /var/log/sync-accounts
7
8 uidmin 500
9 uidmax 29999
10 homebase /home
11 defaultshell /usr/local/bin/bash
12
13 host fowey
14 getpasswd rsh fowey -l syncacct cat /etc/passwd
15 getshadow rsh fowey -l syncacct cat /etc/shadow
16 getgroup rsh fowey -l syncacct cat /etc/group
17 createuser sync-accounts-createuser
18 sameuid
19 group devel
20
21 nousergroups
22 user devel
23 usergroups
24
25 users 500-29999
26
27 nogroup *
28 nocreateuser
29 nousergroups
30 nosameuid
31 #user root
32
33 end