A while ago in this forum, something I read made me aware of the antivirus program, BitDefender Linux Edition. I downloaded and installed it.
It had three problems, according to my simplistic understanding of these things. It was incompatible with ExecShield; it had to be run as root; and it took a number of steps to be updated and then run from the command line.
To make it easier for me to use it, I did a couple of things.
First, using visudo, I edited my sudoers file so that I, as user, could run without a password the following two commands: /opt/bdc/bdc; and /usr/bin/tee.
Secondly, I created a brief bash script, which I called "av". I put it in /home/leslie/bin. It reads:
#!/bin/bash
#av - a script to update bdc and then scan all files
#1st command necessary because bdc not compatible
#with ExecShield; for 1st command's form, see:
#
http://www.dummies.com/WileyCDA/Dumm.../id-2900.html; and
#
http://www.usenix.org/publications/l.../pdfs/owen.pdf
echo 0 | sudo tee /proc/sys/kernel/exec-shield > /dev/null
sudo bdc --update
sudo bdc --all /
echo 1 | sudo tee /proc/sys/kernel/exec-shield > /dev/null
Now, to update bdc and then scan all files with it, all in one go, I just open a terminal and type "av" at the prompt. Everything works as I intended, but I don't know enough about these things to know whether what I've done has some problem with it. I'd welcome any advice about that.
Thank you.