Hello,
I'm running ClamAV 0.68-1 on a OpenBSD-machine (i386, snapshot 190304). When I set 'User _clamd' in clamav.conf and start clamd as root I'm not able to use clamdscan (not able to open file...most probably due to file-restrictions). When I replace _clamd with root everything works great. There is just one little thing, I just can't escape the feeling that I'm not supposed to change user to Root.
Any suggestions or wise words?
With kind regards,
Björn
If clamd is running as an unprivileged user, there will be several parts of the file system that it can't scan due to file system permissions (such as /root). For most people this probably isn't a problem since it is integrated with a mail system and permissions just need to be set to where clamd has access to wherever the queue/tmp files are stored. If you don't want to mess with permissions and want to be able to scan various things easily as root, you can use clamscan instead of clamdscan.
-- Ryan Moore ---------- Perigee.net Corporation 704-849-8355 (sales) 704-849-8017 (tech) www.perigee.net
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users