Changes

From SME Server
Jump to navigationJump to search
m
Modified uninstall instructions
Line 1: Line 1:  +
{{Level|Medium}}
 
==Anti Virus - Additional Signatures==
 
==Anti Virus - Additional Signatures==
 
===Introduction===
 
===Introduction===
Line 44: Line 45:  
  # remove files from previous version
 
  # remove files from previous version
 
  # SME - changed cron job from .sh to .cron, added removal of .sh script and redundant dbs
 
  # SME - changed cron job from .sh to .cron, added removal of .sh script and redundant dbs
  rm -rf       /etc/unofficial-clamav-sigs.conf \
+
  rm -rf /etc/unofficial-clamav-sigs.conf \
 
   /etc/cron.hourly/unofficial-clamav-sigs.cron \
 
   /etc/cron.hourly/unofficial-clamav-sigs.cron \
 
   /usr/unofficial-dbs \
 
   /usr/unofficial-dbs \
Line 198: Line 199:     
===Uninstall===
 
===Uninstall===
Apply the following commands to uninstall
+
Log in to a console shell as ''root''
 +
 
 +
Create and edit a new file. Add the following  
    
  rm -f /etc/cron.d/clamav-unoffical-sigs-cron
 
  rm -f /etc/cron.d/clamav-unoffical-sigs-cron
  rm -fr /opt/sanesecurity
+
  rm -fr /opt/sanesecurity \
rm -fr /usr/unofficial-dbs
+
  /usr/unofficial-dbs
  rm -f /var/log/clamav/unofficial-sigs*
+
  rm -f /var/log/clamav/unofficial-sigs* \
rm -f /var/clamav/*.ndb
+
  /var/clamav/*.ndb \
rm -f /var/clamav/*.ldb
+
  /var/clamav/*.ldb \
rm -f /var/clamav/*.ftm
+
  /var/clamav/*.ftm \
rm -f /var/clamav/*.hdb  
+
  /var/clamav/*.hdb  
 
  signal-event clamav-update
 
  signal-event clamav-update
   
+
 
 +
Save the file as ''sanesecurity-uninstall.sh''
 +
 
 +
  chmod 755 sanesecurity-uninstall.sh
 +
 
 +
Now run the script. This will delete all the Sane Security package files, downloaded databases and directories
 +
 
 +
./sanesecurity-uninstall.sh
 +
 
 
===Old Installation Notes===
 
===Old Installation Notes===
 
A previous installation of the Sane Security scripts was provided for SME by swerts-knudsen.dk, and the installation notes for this are reproduced below for completeness. This is for version 2.4 of the scripts however, whereas the current version installed as above is 3.7 (April 2010)
 
A previous installation of the Sane Security scripts was provided for SME by swerts-knudsen.dk, and the installation notes for this are reproduced below for completeness. This is for version 2.4 of the scripts however, whereas the current version installed as above is 3.7 (April 2010)

Navigation menu