Hi,
Finally I could manage my problem. I had to change the user to qscand in
the
/etc/clamav/clamd.conf
/etc/clamav/freshclam.conf
and use
chown -R qscand:qscand /var/run/clamav
So the Acces denied problem has been solved, and the virus protection
started again.
But tell the truth, as far as I remember I tried to use the orignial
f-prot .deb package provided by the F-Secure,
but I was failed.
A lot of thanks for the help.
Best wishes,
Miloska wrote:
szia Andras,
i think you use debian, and there was (is) some mistake in debian
installer (i mean the package which is in official debian)
i removed the official package
apt-get remove f-prot-installer --purge
then i installed fprot from f-prot site
dpkg -i fp-linux-ws.deb
and now qmail-scanner detect f-prot in /usr/local/bin not in /usr/bin
this is about f-prot.
clamd is a good question, i played some to figure out what uid should
i use, but after some test it worked for me only if clamd was run
under root uid.
does anyone have better solution?
bye (udv)
If you want to scan entire drives or directories or whatever then yes,
clamd needs to be run as root. It needs read access to every file you
want to scan so this isnt really surprising. However this is not
advised as it is a security risk and is not really the purpose of
clamAV. ClamAV is primarily and email scanning product and thefore
usually runs as the same user that processes email. Using
qmail-scanner, this is usually qscand. I have been using clamav for
this purpose (with qmail-scanner) for over a year now with great success.
-Jim
--
DORN András -- [EMAIL PROTECTED]
Budapesti Műszaki és Gazdaságtudományi Egyetem
--
András DORN -- [EMAIL PROTECTED]
Budapest University of Technology and Economics
-----------------------------------------------
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general