LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-02-2012, 09:55 PM   #16
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30

Quote:
Originally Posted by frankbell View Post
Odd. I have run AVG for Linux on several machines (I have it on two now) and never encountered this.
Correction:
On my machine, if I do not stop the avgd daemon and simply shut down the machine...
the pid file gets left behind.

I'm curious, are you running it on a Slackware system?
And if so, how did you handle the creation of the symbolic link?
 
Old 02-03-2012, 06:01 AM   #17
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 272

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by aocab View Post
create an executable file named rc.avgd in /etc/rc.d/
(you can copy and paste the following):
Code:
#!/bin/sh
# Start/stop/restart avgd:

avgd_start() {
  avgctl --start
}

avgd_stop() {
  avgctl --stop
}

avgd_restart() {
  avgctl --restart
}

case "$1" in
'start')
  avgd_start
  ;;
'stop')
  avgd_stop
  ;;
'restart')
  avgd_restart
  ;;
*)
  echo "usage $0 start|stop|restart"
esac
add the following to the bottom of /etc/rc.d/rc.local
(this will run rc.avgd with the start option so that the
avgd daemon gets started when the system boots up):
Code:
if [ -x /etc/rc.d/rc.avgd ]; then
  /etc/rc.d/rc.avgd start
fi
create an executable file named rc.local_shutdown in /etc/rc.d/ and add the following
This will shutdown the avgd daemon when the system shuts down.
(you can copy and paste the following):
Code:
if [ -x /etc/rc.d/rc.avgd ]; then
  /etc/rc.d/rc.avgd stop
fi
If the avgd daemon is not shut down the program's lock file (/opt/avg/av/var/run/avgd.pid)
gets left behind and it will not start on the next boot claiming that it is already running.

There is a way to get avg to scan files on-access but I have not figured that out yet.
As for the GUI...one of the announcements on the avg website mentions that the program
does have a GUI interface but looking through the forums I came across several posts
where it is mentioned that there is no GUI packaged with avg for linux.

I did come across a youtube video where someone was using a GUI interface to the avgd
daemon using some python scripts but the scripts are no longer available for download.

HTH
Cheers

On this page there are several links explaining how to enable
on-access scanning but it is for an older version of avg.
I'm not sure if the information applies to the newer versions of avg.

(faq 1749, 1752, and 1753)
http://www.avg.com/ww-en/faq.pnuid-1253866647

Thank you very, cery much! You're lifesaver :d
 
Old 02-03-2012, 06:08 AM   #18
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 272

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by rkelsen View Post
Why?

Set up a firewall and be done with it. I've been using Linux on my home desktop since 1999, on a machine which is permanently connected to the internet through a cable modem (without any AV software installed, I might add), and I've never seen a virus.

Don't get me wrong, there are many viruses for Linux... BUT, all of the self-propagating viruses and worms attack services like BIND, Apache or Sendmail, and require these services to self-propagate.

None of these types of services are required to run a desktop, even if you want file & print sharing on a home network.

If you're running Linux on a desktop and have switched off all of the outward facing services which you don't need, the simple fact is that there can never be a Linux virus which comes to you via email and sends itself out to all of your friends before formatting your hard drive. Such a thing does not (and cannot) exist.

For a desktop, I think installing AV software on Linux is a waste of time, effort and money.

Disable services. Be smart with your downloads. Check md5sums. Set up a firewall. You can test firewalls with ShieldsUp at http://www.grc.com (or similar... that's one that I use and like). According to ShieldsUp, the internet can't see me... and they can't rootkit what they can't see.
I understand Your point of view, but this computer also has a Windows operating system for playing games - when i have free time - and few days ago somebody from my family used Windows...and my computer was infected - Linux helped me to get rid of all viruses, malewares and so on. I know how to use computer, i have never had viruses till last week...Somebody from my family connected either usb device (hdd) or pendrive, and you know the result. That's why - windows wnet down, all programs were broken, nothing worked.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to update AVG antivirus pnoise Linux - Software 1 01-12-2009 12:08 AM
Avg antivirus linux Fred Caro Linux - Newbie 8 12-08-2007 05:20 PM
avg antivirus installed, but invisible!? ungua Suse/Novell 2 01-28-2007 08:10 AM
Antivirus AVG Free theolddrummer Linux - Software 2 04-18-2006 10:20 PM
Uninstalling AVG Antivirus boechem Linux - Software 1 06-09-2005 03:15 AM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration