I've got a requirement to run clamdscan from an unprivileged user i.e. not root or clamav so users can scan incoming mail and do immediate scans on files that might be downloaded.
I've got clamd running and owned by clamav -
clamav 878 1 1 07:57 ? 00:00:26 /usr/sbin/clamd
So far the only way I've succeeded in running clamdscan, as an unprivileged user, is by either
including clamdscan in the sudoers file with the ALL=NOPASSWD option for all users that should be running clamdscan.
adding those users to the clamav group.
How have other Slackware users tackled this problem?
BTW I'm using "Scan with ClamAV (extended) 2.5.7" in dolphin to do the immediate scans. It seems to be a nicer solution than using clamtk. Even more so as I've never managed to get clamtk to work!
I've set up clamav as my virus scanner in kmail.