Using slackbuild:
http://slackbuilds.org/repository/14.1/system/clamav/
Added an account (
/etc/passwd entry)
Code:
clamav:x:210:210::/home/clamav:/bin/bash
Added a group (
/etc/group entry)
Is that setup right?I started the rc.clamav script and it results in this when running the daemon:
Code:
# clamdscan /home/ricky/ -v
/home/ricky: lstat() failed: Permission denied. ERROR
----------- SCAN SUMMARY -----------
Infected files: 0
Total errors: 1
Time: 0.000 sec (0 m 0 s)
Also one other thing, would it be better to use `vipw` and change the home to /dev/null and the shell to /bin/false , or does clav require those?