1
0
forked from ports/contrib
contrib-tek/clamav/pre-install

11 lines
235 B
Plaintext
Raw Normal View History

2006-10-24 15:36:15 -05:00
#!/bin/sh
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 /var/empty -s /bin/false -c "ClamAV" clamav
2018-04-11 19:38:02 -05:00
/usr/bin/passwd -l clamav
fi