Viitor_clamav/tmp/postinstall
kueller 9f9f0d843d Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_clamav@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

11 lines
215 B
Bash

#!/bin/bash
if ! getent group clamav >/dev/null; then
groupadd -g 30 clamav
fi
if ! getent passwd clamav >/dev/null; then
useradd -u 55 -g clamav -d /tmp clamav
fi
chown clamav:clamav /usr/share/clamav/main.cvd