PcTek9
Well-Known Member
- Reaction score
- 87
- Location
- Mobile, AL
Leave the 'administrator' as root.
Hit enter for blank password.
log in as root, with blank password (just hit enter).
netconfig - to set up network
connect - to cause it to connect to the internet
update - /usr/bin/freshclam --user=root
antivir - to scan the system.
* for my personal experience just typing "antivir" did not update the antivirus definitions but instead scanned the usb stick then scanned the drives without updating anything, as a result, I had to figure out how to configure it, connect it, and update it, all manually.
I have found the reason the system does not attempt to update when you run antivir.
if you go in to the director of usr, then go into the directory of bin, then use vi to edit the antivir script, you will find 69 lines of code that run the antivirus program to cause it to update and scan. If you look at line 37 it has a comment at the front which is the number sign #, just remove that and :wq the file.
----------------------------------------------------------------------------
fi
else
echo "Bye!"
fi
else
ln -s /var/clamav/freshclam.conf /etc/freshclam.conf
clear
echo "Checking for available updates:"
#freshclam --user=$USER
clear
-----------------------------------------------------------------------------
and that fixes that issue...
you can also just create your own update script with a copy con to RootOverride, /usr/bin/freshclam --user=root, <f6>
step by step:
while in the /usr/bin directory and logged in as root, create a file called update by
1) type vi update in the cli window
2) press enter or return on your keyboard.
3) type /usr/bin/freshclam --user=root
4) hit enter or return
5) type :wq to get out of vi
6) hit enter or return
7) chmod +x update
8) hit enter or return
now you have an update file in the /usr/bin folder for updating the antivirus signatures that you put on the usb stick yourself.
now you can just type /usr/bin/update from anywhere in any folder, and the antivirus signatures get updated.
Hit enter for blank password.
log in as root, with blank password (just hit enter).
netconfig - to set up network
connect - to cause it to connect to the internet
update - /usr/bin/freshclam --user=root
antivir - to scan the system.
* for my personal experience just typing "antivir" did not update the antivirus definitions but instead scanned the usb stick then scanned the drives without updating anything, as a result, I had to figure out how to configure it, connect it, and update it, all manually.
I have found the reason the system does not attempt to update when you run antivir.
if you go in to the director of usr, then go into the directory of bin, then use vi to edit the antivir script, you will find 69 lines of code that run the antivirus program to cause it to update and scan. If you look at line 37 it has a comment at the front which is the number sign #, just remove that and :wq the file.
----------------------------------------------------------------------------
fi
else
echo "Bye!"
fi
else
ln -s /var/clamav/freshclam.conf /etc/freshclam.conf
clear
echo "Checking for available updates:"
#freshclam --user=$USER
clear
-----------------------------------------------------------------------------
and that fixes that issue...
you can also just create your own update script with a copy con to RootOverride, /usr/bin/freshclam --user=root, <f6>
step by step:
while in the /usr/bin directory and logged in as root, create a file called update by
1) type vi update in the cli window
2) press enter or return on your keyboard.
3) type /usr/bin/freshclam --user=root
4) hit enter or return
5) type :wq to get out of vi
6) hit enter or return
7) chmod +x update
8) hit enter or return
now you have an update file in the /usr/bin folder for updating the antivirus signatures that you put on the usb stick yourself.
now you can just type /usr/bin/update from anywhere in any folder, and the antivirus signatures get updated.
Last edited: