Tomasz Kojm wrote:
On Sun, 14 Jan 2007 23:31:59 +0100
bsd <[EMAIL PROTECTED]> wrote:

Hello,

I am using OS X Server 10.4.8 and I am trying to use clamscan to scan a shared point (AFP SMB) share using clamscan.

When I issue a simple command such as

# clamscan -l /var/log/clamscan.log -r /Volumes/RAID/pacnisab/

I get an error stating : ERROR: Can't get information about user 0


This is problematic as I really need to scan this volume as root user (because of multiple permission on the directories scanned).


I am using OpenDirectory with LDAP. If this could help… ?


Thaugh there have been a previous thread on this topic no serious && complete answers have been provided;

Please reconfigure ClamAV sources with ./configure --with-user=clamav


Clamscan doesn't use that parameter. His issue is the system that shared out the file system(s) he'd like to scan did not share them out such that user root could read them. The real problem is trying to scan file systems over the network rather than scanning them on the system they are directly attached to, but that is the admin's choice.

And before allowing user root to scan remote file systems consider that anyone with a Mac or Linux system can be user root. Generally this could be seen as a security issue. Local circumstances dictate whether that would be true in the OP's case.

Elsewhere in the thread: OS X always has a root account - what it doesn't always have is a root password.

dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to