2006-10-24 22:36:15 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-11-25 23:43:37 +01:00
|
|
|
if [ -z `getent group clamav` ]; then
|
|
|
|
/usr/sbin/groupadd -r clamav
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -z `getent passwd clamav` ]; then
|
|
|
|
/usr/sbin/useradd -r -g clamav -d /etc/clamav -s /bin/false -c "ClamAV" clamav
|
|
|
|
/usr/bin/passwd -l
|
|
|
|
fi
|