Tip of the Week 2005-09-05

From FedoraNEWS.ORG

Welcome to Tip of the Week!

Tip of the Week releases on every monday with Fedora Weekly News.

Tip of the week: How to Install RKHunter

This will help you build and install rkhunter, so that you can check for rootkits on your computer

- submitted by Fedora Jim (http://www.fedorajim.homelinux.com)


  • Download the RKHunter install File (.tar.gz) Here (http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz)
  • Extract the RKHunter install File:
$ tar zxvf rkhunter-1.2.7.tar.gz
  • Go into the newly created folder and become root
$ cd rkhunter-1.2.7
$ su
  • Install RKHunter:
# ./installer.sh
  • Now you have to create a script that will check for updates in RKHunter, and then scan for rootkits. You can use gedit or vi or any text editor of your choice.
  • Create the file /usr/local/bin/rhkunter.sh in a text editor
# gedit /usr/local/bin/rkhunter.sh
  • Put all this in the file /usr/local/bin/rkhunter.sh and save it
#!/bin/bash
#
# Script to check RKHunter for updates and run Rkhunter
#

# (c) 2005 fedorajim
# www.fedorajim.homelinux.com
#

echo "Checking for updates first..."
sudo rkhunter --update

echo "Now we'll scan your system..."
sudo rkhunter --skip-keypress -c

sleep 5
  • Now we want to create a Launcher on your Desktop. It is shown below how to accomplish this in GNOME. It is very similar in KDE

Image:rkhunter1.png Image:rkhuner2.png

  • Now you Just need to Double Click on the Icon to Run RKHunter.
  • Fedora Jim (http://www.fedorajim.homelinux.com) has also given an icon that you can use with RKHunter. Save the below icon in /usr/share/pixmaps

Image:rkhunter.png


Previous Tips of the Week Can be found Here: Tips of the IceBurg

Add a Tip

If you have a tip you want to add, contact Tejas Dinkar (mailto:tejasdinkar@gmail.com).


Personal tools