ClioSport.net

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

Linux Q - keeping clamav up to date on centos.

Car  Trophy #267
I run a nix box which runs centos 5 as a antispam server mainly (+ a few others)
Clamav (and clamd) are installed correctly and currently happily filter out shed loads of incoming virii via postfix / amavisd / clamd.

Freshclam runs multiple times daily and keeps the defs upto date, but the main prog often needs updating.

I have been manually doing yum update clamav to update the main prog.

not 100% with nix system but would I be ok in doing that via cron ?
a daily cmd which runs a shell script or directly via crontab yum update clamd clamav and forcing Y ?
 
Shouldn't see why not, it'd get the job done. But make sure that it logs, and mails you with any errors.
 
What you are suggesting will work just fine.. but I wouldnt suggest it TBH.. you should really test any updated packages before you deploy them to a live server.
 
Back
Top