On Jan 16, 2007, at 3:11 PM, Stephen Gran wrote:
On Tue, Jan 16, 2007 at 09:47:45AM -0800, Chuck Swiger said:
Edit the freshclam.conf and clamd.conf files and uncomment the User
or DatabaseUser entries; these files will be under /etc/spam/clamav
if you are using Apple's default location.
Please see earlier discussion - this is a compile time setting.
Whoever
built these binaries for the OPs system did it with --user=0 or some
other thing. The binaries will need to be recompiled, or he'll
need to
find a way to get a user 0 recognized by getpwnam.
With due respect, not only I was part of the earlier discussion, I
even quoted the portion of the source code which generates the
warning message the OP was having problems with, and tested that
uncommenting the options I mentioned allowed one to use the vendor-
supplied freshclam or clamscan binaries as the root user:
6# grep DatabaseOwner freshclam.conf
# DatabaseOwner clamav
7# freshclam
ERROR: Can't get information about user 0.
8# emacs freshclam.conf # uncomment the
DatabaseOwner line
9# grep DatabaseOwner freshclam.conf
DatabaseOwner clamav
10# freshclam
ClamAV update process started at Tue Jan 16 18:38:50 2007
SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
See the FAQ at http://www.clamav.net/faq.html for an explanation.
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.88.5 Recommended version: 0.88.7
[ ... ]
--
-Chuck
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html