[clamav-users] clamav on centos 7: changing runas user

Prabhu Mannu prabhu at fernridge.com
Wed Jan 20 20:33:56 EST 2016


Dear Ged,

> There's really no substitute for learing about your operating system.

Yes, I am learning it the hard way. Really appreciate your input i just learned something new about linux.

With regards
Prabhu
-----Original Message-----
From: clamav-users [mailto:clamav-users-bounces at lists.clamav.net] On Behalf Of G.W. Haywood
Sent: Thursday, January 21, 2016 1:19 AM
To: clamav-users at lists.clamav.net
Subject: Re: [clamav-users] clamav on centos 7: changing runas user

Hi there,

On Wed, 20 Jan 2016, Prabhu Mannu wrote:

> I am having little trouble with configuring Clamav sever on centos 7
> to run as different user, the mail problem for me is that the
> /var/run/clam.scan folder permission reverts back to its original
> permission and user name after reboot.

I suspect that /var/run is in RAM, not on persistent storage.  In that
case you will find something in your startup scripts which creates the
directory with those permissions.  You'll either need to modify that,
or run something e.g. in rc.local to set the permissions on each boot.
There will be many other ways of doing it too.

There's really no substitute for learing about your operating system.

-- 

73,
Ged.
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml




More information about the clamav-users mailing list