Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

installation/rkhunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Rootkit Hunter

Rootkit Hunter install script

Installs all dependencies using apt or yum

Tested on:

  • CentOS 5.8/6.4
  • Debian 6.0/7.0
  • Fedora 17
  • Ubuntu 10.04/12.04/12.10

Default temp dir is /tmp/rkhunter, this can be changed in install script.

By default, the installer logs into $TMP/install.log and $TMP/error.log. Check these for further info about the installation process.

Dependencies

  • Package manager (apt or yum)
  • HTTP Client (curl, wget or fetch)
  • TAR executable
  • Mail (Debian/Ubuntu: mailutils, RHEL: mailx)

Dependencies will be installed during the progress, but installing them on your own is advised.

Installation

Download and run install.sh [email protected]

Offline installation

Clone this repository or download install.sh and download the following file manually into the install script path:

Rootkit Hunter Archive

Run install.sh [email protected]

Create file /etc/cron.daily/rkhunter.sh with execute permission, and paste the following content:

#!/bin/sh
(
	/usr/local/bin/rkhunter --versioncheck
	/usr/local/bin/rkhunter --update
	/usr/local/bin/rkhunter --cronjob --report-warnings-only
) | /bin/mail -s 'rkhunter Daily Run (HOSTNAME)' [email protected]

Note: You can run your cron jobs whenever you want.

For further info check Installation tutorial

About

Rootkit Hunter install script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages