2 echo -n "adding sks system group... "
3 groupadd -r sks && echo -n "done."
6 echo -n "adding sks system user... "
7 useradd -c "Synchronizing OpenPGP Key Server" -r -d /var/lib/sks -g sks -s /bin/bash sks && echo -n "done."
11 chown sks:sks /var/run/sks
12 chmod 775 /var/run/sks
15 chown sks:sks /var/log/sks
18 chown sks:sks /var/lib/sks
20 mkdir -p /var/spool/sks
21 chown sks:sks /var/spool/sks
23 echo ">> Place 'sks' in DAEMONS= in /etc/rc.conf to enable sks on system boot."
27 echo -n -e "\nremoving sks system user... "
28 userdel sks && echo "done."
32 echo "Not removing tmp and log directories"
40 # vim: ft=sh ts=2 sw=2