Stephen Gran wrote:
On Mon, Jan 15, 2007 at 10:44:33AM -0800, Dennis Peterson said:
Tomasz Kojm wrote:
Please reconfigure ClamAV sources with ./configure --with-user=clamav
Clamscan doesn't use that parameter.

./clamscan/defaults.h:
#define UNPUSER CLAMAVUSER
#define UNPUSER "clamav"

./clamscan/manager.c:
if(!geteuid()) {
    if((user = getpwnam(UNPUSER)) == NULL) {
        logg("!Can't get information about user "UNPUSER"\n");
        exit(60); /* this is critical problem, so we just exit here */
    }
}

I beg to differ.

I guess I never lit off clamscan where I didn't have a UID. I don't even know how I could. Clamscan always runs as the executing in all of my scripts.

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