Re: AVG



PWB wrote:
"Peter" <sinbin@xxxxxxxxxx> wrote in message news:13rhu4eoink3pe3@xxxxxxxxxxxxxxxxxxxxx
PWB wrote:
"Timfy" <nospam@xxxxxxxxxxxxxx> wrote in message news:jo1uj.2059$Ef1.172@xxxxxxxxxxxxxxxxxxxxxxx
Why? Linux isn't Windows. It is not a magnet for viruses like MS products.


Whilst this is a valid point, I use AVG to check that files that I'm forwarding on to MS using friends and colleagues do not contain virii that may affect them.
and thats the reason i d/l it , but I find it says now I found where it is that it says I have no permission to use it to update so where do I get the permissions as there is no where I can see to input a password
Updating is allowed under root by the following command: avgupdate -o
I am using avg and can test from gui or console mode.

A couple of useful Console commands:
avgupdate --help
avgscan --help

avgscan home
avgscan media
Thanks but where do I put the password as it doesnt give a window for it.
Command: konsole
Console box opens (eg xxxx@linux-5tp5:~>)
Command: su -
Password:(you enter your password and you are root)
(this is my root) linux-5tp5:~ #

linux-5tp5:~ # avgupdate -0
linux-5tp5:~ #avgupdate --help

If you wish to take it further, you may edit your AVG Menu link (shortcut) application command from "avggui" to "kdesu avggui" (if you are running KDE) and you will always be asked for the root passward or just type "kdesu avggui" (without the quotation marks) in a run command (right click on desktop, etc) and you will get same result. You could also login into the root account directly and use the avggui from there .

Here is where you can find some more info located on your system:
/opt/grisoft/avg7/doc/README
/opt/grisoft/avg7/doc/avg_esl_uma_en_75_8.pdf
/opt/grisoft/avggui/doc/README


/opt/grisoft/avg7/doc/README
[...]
Update performed by a nonprivileged user
----------------------------------------
This feature is available only in AVG for Linux/FreeBSD versions 7.0.12 and higher!

The user that is about to be allowed to run the update has to be in a group, which is the owner of the '/opt/grisoft/avg7' directory subtree.
=================================
The group name is 'avg' by default. You can add a user to this group using this command as root:
# usermod -G group_name login
The 'login' string stands for the user's login name, 'group_name' stands forthe group.
=================================
The only difference in running an update by such a user is that the AVG
Anti-Virus daemons can not be restarted explicitly unless they are restarted by root (or after the next restart of the system itself). Normal user can not send them a signal nor even restart them within the update process. Butthe updated virus database will be loaded by the AVG Anti-Virus daemons just before the first scan following the update, as mentioned in the previous section.

------------

Cheers
.