# groupadd clamav # useradd -g clamav -s /bin/false -c "Clam AntiVirus" clamavThe above method works on Linux and Solaris - in case you don't have groupadd, useradd please consult the system manual. If you are installing ClamAV on a user account you may omit this step with the
--disable-clamav
option passed to the configure
script:
$ ./configure --disable-clamavIt disables testing for existence of the clamav user and group. clamscan still requires the unprivileged user and group to work in the superuser mode. The password for that account should be locked in /etc/passwd or /etc/shadow.