Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-28-2006, 08:51 PM
|
#1
|
Member
Registered: Jan 2006
Posts: 58
Rep:
|
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
|
|
|
02-28-2006, 09:29 PM
|
#2
|
Member
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298
Rep:
|
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
|
|
|
03-01-2006, 12:24 PM
|
#3
|
Member
Registered: Jan 2006
Posts: 58
Original Poster
Rep:
|
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
|
|
|
03-01-2006, 02:25 PM
|
#4
|
Member
Registered: Nov 2004
Location: Leiden, Netherlands
Distribution: SuSE; Fedora;Slackware
Posts: 58
Rep:
|
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.
|
|
|
03-02-2006, 10:45 AM
|
#5
|
Member
Registered: Jan 2006
Posts: 58
Original Poster
Rep:
|
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.
|
|
|
03-02-2006, 11:29 AM
|
#6
|
Member
Registered: Jan 2006
Posts: 58
Original Poster
Rep:
|
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)
|
|
|
03-02-2006, 12:36 PM
|
#7
|
Member
Registered: Nov 2004
Location: Leiden, Netherlands
Distribution: SuSE; Fedora;Slackware
Posts: 58
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|