LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-28-2006, 08:51 PM   #1
preeth26
Member
 
Registered: Jan 2006
Posts: 58

Rep: Reputation: 15
Question Access denied when running F-prot


Hi there
I need some help with running F-prot virus program. I appear to have done everything correctly in installing the program and the necessary perl modules. I did all this as root. However, when I try and run F-prot I find that it is denied access altogether! What does this mean? How do I go about enabling F-prot to have access to all the paths that have to be scanned? I am using only the general command to get F-prot started-f-prot /. This brings on the information on the installed program and then the scan commences. But access is denied completely for the scan.

Thanks for your help.
Regards
preeth26
 
Old 02-28-2006, 09:29 PM   #2
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
Well ... as you indicate the root user installed the software, therefore, you must run is as root.
Now, there are two ways in which you can do this. (1) you type su -c 'path_to_program/fprot or (2) you add yourself to the sudoes list and type sudo path_to_program/fprot

Hope this helps.

Rick
 
Old 03-01-2006, 12:24 PM   #3
preeth26
Member
 
Registered: Jan 2006
Posts: 58

Original Poster
Rep: Reputation: 15
Question Access denied when running f-prot

Hi Rick
Thanks for your reply. I forgot to mention that I was trying to run f-prot as root only, when I was receiving the access denied messages for the entire scan. Is your suggestion any different from running the terminal program as root? For instance I would open a terminal, type 'su root' and then type in my password and then only try to run f-prot. The executable script is located in usr/local/bin/f-prot.

I did try your steps but I am unsure as to whether I am doing it right. Do I enter one or the other of your two suggestions exactly as you have stated? In other words, 'path_to_program/fprot should be typed in exactly the same way? Or is 'path_to_program' the path to the executable script? What should I see once I do this correctly?

Thanks again for your help, as you can see I am quite a novice with Linux and not sure about what to expect when doing different things...
Regards
preeth26
 
Old 03-01-2006, 02:25 PM   #4
bibh_lnxq
Member
 
Registered: Nov 2004
Location: Leiden, Netherlands
Distribution: SuSE; Fedora;Slackware
Posts: 58

Rep: Reputation: 15
You may try the following: on my machine f-prot will start and exit immediately if I do not give it something to work on, so, here, as root:

/usr/local/f-prot/f-prot /somedirectory or /somefile

f-prot will then do its default scan, but you can of course add all kinds of options.

Note that here there is also a /usr/local/bin/f-prot
But it is the first one I need.
 
Old 03-02-2006, 10:45 AM   #5
preeth26
Member
 
Registered: Jan 2006
Posts: 58

Original Poster
Rep: Reputation: 15
Smile Thanks a lot..

Hi there
Thank you so much for that hint, I found that my f-prot directory was sitting in a different location, not usr/local. I was merely looking at the f-prot in usr/local/bin. Once I moved the entire directory to usr/local the whole thing works like a charm. Even the xfprot gui works beautifully.

All this, pretty insignificant achievements for exprienced Linux users but for novices like me, every little thing that works is a great accomplishment indeed!!! Thank you so much once again.
Regards
preeth26.
 
Old 03-02-2006, 11:29 AM   #6
preeth26
Member
 
Registered: Jan 2006
Posts: 58

Original Poster
Rep: Reputation: 15
Access denied

Hi there
I guess I spoke too soon. Somehow I am still unable to do a 'dumb scan' of the entire sytem by using the / option. I still continue to get the 'Access denied' error, even though I am now able to scan specific files and directories. I have appended the output for a '/' scan using f-prot, running xfprot as root. Not sure if I am somehow doing something wrong here?

Please help, thanks again.
preeth26


F-PROT ANTIVIRUS
Program version: 4.6.6
Engine version: 3.16.14

VIRUS SIGNATURE FILES
SIGN.DEF created 28 February 2006
SIGN2.DEF created 1 March 2006
MACRO.DEF created 24 February 2006

Search: /
Action: Automatic disinfection
Files: "Dumb" scan of all files
Switches: -ARCHIVE -PACKED -REPORT=/root/.xfprot/xfprot.log

Error on scanning /sys/class/pcmcia_socket/pcmcia_socket0/card_eject (access denied)
Error on scanning /sys/class/pcmcia_socket/pcmcia_socket0/card_insert (access denied)
Error on scanning /sys/bus/usb/drivers/usbhid/bind (access denied)
Error on scanning /sys/bus/usb/drivers/usbhid/unbind (access denied)
Error on scanning /sys/bus/usb/drivers/hiddev/bind (access denied)
Error on scanning /sys/bus/usb/drivers/hiddev/unbind (access denied)
Error on scanning /sys/bus/usb/drivers/hci_usb/bind (access denied)
Error on scanning /sys/bus/usb/drivers/hci_usb/unbind (access denied)
Error on scanning /sys/bus/usb/drivers/usb/bind (access denied)
Error on scanning /sys/bus/usb/drivers/usb/unbind (access denied)
Error on scanning /sys/bus/usb/drivers/hub/bind (access denied)
Error on scanning /sys/bus/usb/drivers/hub/unbind (access denied)
Error on scanning /sys/bus/usb/drivers/usbfs/bind (access denied)
Error on scanning /sys/bus/usb/drivers/usbfs/unbind (access denied)
Error on scanning /sys/bus/ide/drivers/ide-cdrom/bind (access denied)
Error on scanning /sys/bus/ide/drivers/ide-cdrom/unbind (access denied)
Error on scanning /sys/bus/ide/drivers/ide-disk/bind (access denied)
Error on scanning /sys/bus/ide/drivers/ide-disk/unbind (access denied)
Error on scanning /sys/bus/serio/drivers/psmouse/bind (access denied)
Error on scanning /sys/bus/serio/drivers/psmouse/unbind (access denied)
Error on scanning /sys/bus/serio/drivers/atkbd/bind (access denied)
Error on scanning /sys/bus/serio/drivers/atkbd/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/ohci1394/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/ohci1394/bind (access denied)
Error on scanning /sys/bus/pci/drivers/ohci1394/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/yenta_cardbus/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/yenta_cardbus/bind (access denied)
Error on scanning /sys/bus/pci/drivers/yenta_cardbus/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/ATI IXP AC97 controller/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/ATI IXP AC97 controller/bind (access denied)
Error on scanning /sys/bus/pci/drivers/ATI IXP AC97 controller/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/ohci_hcd/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/ohci_hcd/bind (access denied)
Error on scanning /sys/bus/pci/drivers/ohci_hcd/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/ehci_hcd/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/ehci_hcd/bind (access denied)
Error on scanning /sys/bus/pci/drivers/ehci_hcd/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/PCI_IDE/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/PCI_IDE/bind (access denied)
Error on scanning /sys/bus/pci/drivers/PCI_IDE/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/shpchp/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/shpchp/bind (access denied)
Error on scanning /sys/bus/pci/drivers/shpchp/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/parport_pc/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/parport_pc/bind (access denied)
Error on scanning /sys/bus/pci/drivers/parport_pc/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/ndiswrapper/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/ndiswrapper/bind (access denied)
Error on scanning /sys/bus/pci/drivers/ndiswrapper/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/ATIIXP_IDE/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/ATIIXP_IDE/bind (access denied)
Error on scanning /sys/bus/pci/drivers/ATIIXP_IDE/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/serial/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/serial/bind (access denied)
Error on scanning /sys/bus/pci/drivers/serial/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/agpgart-intel/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/agpgart-intel/bind (access denied)
Error on scanning /sys/bus/pci/drivers/agpgart-intel/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/pcieport-driver/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/pcieport-driver/bind (access denied)
Error on scanning /sys/bus/pci/drivers/pcieport-driver/unbind (access denied)
Error on scanning /sys/bus/pci/drivers/agpgart-amd64/new_id (access denied)
Error on scanning /sys/bus/pci/drivers/agpgart-amd64/bind (access denied)
Error on scanning /sys/bus/pci/drivers/agpgart-amd64/unbind (access denied)
Error on scanning /sys/bus/platform/drivers/serial8250/bind (access denied)
Error on scanning /sys/bus/platform/drivers/serial8250/unbind (access denied)
Error on scanning /sys/bus/platform/drivers/i8042/bind (access denied)
Error on scanning /sys/bus/platform/drivers/i8042/unbind (access denied)
Error on scanning /sys/bus/platform/drivers/vesafb/bind (access denied)
Error on scanning /sys/bus/platform/drivers/vesafb/unbind (access denied)
Error on scanning /sys/devices/platform/i8042/serio4/drvctl (access denied)
Error on scanning /sys/devices/platform/i8042/serio3/drvctl (access denied)
Error on scanning /sys/devices/platform/i8042/serio2/drvctl (access denied)
Error on scanning /sys/devices/platform/i8042/serio1/drvctl (access denied)
Error on scanning /sys/devices/platform/i8042/serio0/drvctl (access denied)
 
Old 03-02-2006, 12:36 PM   #7
bibh_lnxq
Member
 
Registered: Nov 2004
Location: Leiden, Netherlands
Distribution: SuSE; Fedora;Slackware
Posts: 58

Rep: Reputation: 15
I would suggest that you check f-prot documentation. By the look of it, you have started a systemwide scan ("scan /") including usb and cd/dvd drives and pcmcia devices. The usb and cd/dvd drives may be empty when f-prot tries to access them and then reports errors,
I know that antivir excludes /sys and /proc with any scan by default. It may not be such a good idea to do the "whole lot" in one go, without exclusions. Or put up with loads of error messages ;-)
Just to check if f-prot is working in a satisfactory way at all, run a limited scan on e.g. /home.
 
  


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
Acroread: libJP2K.so: cannot restore segment prot after reloc: Permission denied pavodive Linux - Security 8 02-25-2009 01:52 PM
Access Denied aje Linux - Newbie 7 10-18-2004 08:48 PM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
multitasking while running k3b or f-prot hobylinux Linux - Software 3 08-20-2003 10:08 PM
access denied - but why? Steave Programming 1 08-31-2001 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:17 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