2006-10-24 15:36:15 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-11-25 16:43:37 -06: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
|