On Tue, Jan 16, 2007 at 03:40:26PM -0800, Chuck Swiger said: > 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:
I am sorry if I came across as harsher than I intended to. I know that you were part of the earlier discussion and provided valuable insight. However, your research so far seems to have focused on freshclam rather than clamscan, which is where I thought the OPs problem lay. clamscan explicitly exits if getpwnam() returns NULL on a query for the compile time user. I have not investigated freshclam's behavior, as I assume it can indeed honor it's config file, but I thank you for looking into it and confirming my hope. -- -------------------------------------------------------------------------- | Stephen Gran | There is no fool to the old fool. -- | | [EMAIL PROTECTED] | John Heywood | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
signature.asc
Description: Digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html