LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-22-2009, 11:11 AM   #1
steve-a-reno
LQ Newbie
 
Registered: Jan 2009
Location: Melbourne, Australia
Distribution: Ubuntu, Suse, RedHat, and Puppy
Posts: 5

Rep: Reputation: 0
Anti-Virus Scan (avscan) update


Folks,

I can run avscan* from a user terminal and scan a file, file(s) and directories. However I can not run the update function.

When I click on the GUI's update button I get the following error message: -
Quote:
"You may not be able to update the virus database because the virus database update program:

/usr/bin/freshclam

Is not set SETUID and you are not the owner of it. Do you want to try and update the virus database anyway?"
Needless to say, clicking yes doesn't help.

Any suggestions?

* as far as I can tell avscan is just a GUI front end for clamav and freshclam.


Steve-a-reno

Last edited by steve-a-reno; 01-22-2009 at 11:45 AM.
 
Old 01-22-2009, 12:01 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Have you tried editing the menu icon to make it 'run as' root?
 
Old 01-22-2009, 08:43 PM   #3
steve-a-reno
LQ Newbie
 
Registered: Jan 2009
Location: Melbourne, Australia
Distribution: Ubuntu, Suse, RedHat, and Puppy
Posts: 5

Original Poster
Rep: Reputation: 0
avscan update (via freshclam) now works

I have managed to fix the update error by logging in as root and changing the files permissions as follows: -

Quote:
chmod u+s /usr/bin/freshclam
The tool now work fine for standard users.

Thanks,
Steve-a-reno
 
Old 01-27-2009, 03:25 PM   #4
steve-a-reno
LQ Newbie
 
Registered: Jan 2009
Location: Melbourne, Australia
Distribution: Ubuntu, Suse, RedHat, and Puppy
Posts: 5

Original Poster
Rep: Reputation: 0
freshclam package update (breaks avscan update function)

I just recently loaded a later freshclam package as a more recent version just became available through the repositories however I noticed that as a result it breaks the avscan update function. Of course I can easily fix it by manually reapplying the followign command
Quote:
chmod u+s /usr/bin/freshclam
Is there a reason that they project owners distribute the /usr/bin/freshclam file without the setuserid bit set and if so why dont they automatically apply the chmod command as part of the package update process (or is there a good security reason not to do this)?

Steve-a-reno
 
  


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
An anti-virus to scan pen drives on linux? kavinchat Linux - Newbie 4 08-04-2008 01:41 PM
Anti-virus that will scan partitions for windows viruses from linux? lifeforce4 General 4 05-25-2008 04:31 PM
scan download files over HTTPS using Anti-Virus Proxy cccc Linux - Security 2 05-11-2008 05:29 AM
F-prot Anti-virus scan log, suspicous file question. webwolf70 Linux - Security 5 11-16-2004 09:15 AM
Boot virus or Anti-Virus? AVG Free Anti-Virus Software problems SparceMatrix Linux - Security 9 08-02-2004 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:38 AM.

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
Open Source Consulting | Domain Registration