LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Clam Antivirus (https://www.linuxquestions.org/questions/linux-software-2/clam-antivirus-82092/)

bLaDe 08-14-2003 08:31 PM

Clam Antivirus
 
I have managed to install Clam Antivirus and can run the update and scan a certain directory but I have a couple of quick questions which I'm hoping you guys would be able to help me with. I have looked through the documentation but it doesn't appear clear to me (real n00b).

From the documentation I gather I should be using a cronjob but since i've never used one I'm not so sure how to go about.

1) How do I setup an entire system scan lets say once a week (friday) at around 4am?
2) How can I get Clam to startup automatically and stay in memory? Keep in mind I am assuming it does similar the similar thing to Norton's where it scans files as they are being used. If it doesn't do this how can I simply make it startup when the box is powered up (not that it ever really goes down since it's linux after all).

I will be using the command line interface rather than the daemon which I take it only works in X.

I'm also using Mandrake 9.0 if that makes any difference.

Any help would be great.

Thanks
Darren

contrasutra 08-14-2003 09:32 PM

I wouldnt have it run all the time. The virus threat in linux is EXTREMELY low, and is much lower if you dont run as root and dont execute programs that you dont trust, and of course, dont use P2P.


For having it run on a schedule, you'll want to do some research on setting Cron jobs.

All I have to do is add a script that executes the program in my /etc/cron.daily folder, and the program runs every day at 12:03AM.

bLaDe 08-14-2003 09:55 PM

Thanks for reply contrasutra.

Since posting I've done a bit of reading about Cron jobs and feel confident I can set one up. It's just a matter of working out how to execute Clam to scan the entire system.

I think monthly scans will do it for what I need it for.

The system is basically a gateway/file server machine with the standard intranet sort of setup with apache, mysql, php, samba, shorewall etc so I don't run any apps which I don't trust and always login as a normal user and just su to root if needed.


All times are GMT -5. The time now is 01:47 AM.