Robert Corrigan wrote:
[ ... ]
> The goal is to get a third party application (which runs as a daemon
> under the root account) to scan files.  Since I get the same behavior
> regardless of whether I'm using the app or just typing on the terminal,
> I'm fairly certain it's not the third party app.  I'm not sure yet if I
> can configure the daemon to run as someone else, or if I should.

You should not run the scanner daemon as root by default, but use a "clamav" or
"vscan" user that most systems include.  In particular, MacOS X ought to have
the former account name:

3-cube% nidump passwd . | grep clamav
clamav:*:82:82::0:0:Clamav User:/var/virusmails:/bin/tcsh

> Is my root account setup just whacked, or is there anything I can do to
> troubleshoot further?  I don't have problems running anything else as
> root...

If you're using OpenLDAP/Active Directory instead, do you even have a root user
in the LDAP database?  Is /etc/passwd and the NetInfo version sane?

  mv /etc/passwd /etc/passwd.BACKUP
  nidump passwd . > /etc/passwd
  vipw

...and see whether it's sanity check thinks of things.  Otherwise, read "man
lookupd" on how to test and debug the MacOS X side of user lookups.

-- 
-Chuck
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to