Hi,

On Wed, 2006-10-04 at 09:41 -0400, Graham wrote:
> Package: clamav
> Version: 0.88.4-2
> 
> When I run "clamscan" as root, it shows this message:
> 
>     ERROR: Can't get information about user clamav
> 
> then exits without scanning anything.
> 
> Indeed, there does not seem to be a "clamav" user on my system. Maybe
> the clamav package should create it?

In a word, yes. I'm a little confused as to how you've ended up without
the user, to be honest.

Every package since 0.69-0.70-rc-1 has used the following in its
postinst script:

 # Set up the clamav user on new install
 if [ -z "$2" ]; then
   if [ -z "`getent passwd clamav`" ]; then
     adduser --system --no-create-home \
       --disabled-password --disabled-login \
      --shell /bin/false --group --home /var/lib/clamav clamav
   fi

Earlier versions (at least as far back as 0.65-1, which is the earliest
I've got a source package for handy) did much the same, but without the
"on new install" check.

Regards,

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to