/usr/share/doc/sync-accounts/examples/sync-accounts.bsd is in chiark-scripts 4.3.0.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # This is an example /etc/sync-accounts for BSD.
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
|