SSH Gateway: Security
- Download
-
/home/simonh/Downloads/ tar xvzf rkhunter-1.4.0.tar.gz cd rkhunter-1.4.0
- Install
-
cd /home/simonh/Downloads/rkhunter-1.4.0 ./installer.sh --layout custom /home/simonh/ --install PREFIX: /home/simonh Application: /home/simonh/bin Configuration file: /home/simonh/etc Documents: /home/simonh/share/doc/rkhunter-1.4.0 Man page: /home/simonh/share/man/man8 Scripts: /home/simonh/lib64/rkhunter/scripts Databases: /home/simonh/var/lib/rkhunter/db Temporary files: /home/simonh/var/lib/rkhunter/tmp ./installer.sh --layout custom /home/simonh --install
- Config
-
/home/simonh/bin/rkhunter --propupd
- Chron
-
/home/simonh/sbin: rkhunter -> ../bin/rkhunter two.simonh.chron -> rkhunter.chron
where rkhunter.chron:#!/bin/sh -e echo "" echo "BEGIN rkhunter..." echo "" /home/simonh/bin/rkhunter --checkall --rwo --sk --check --append-log --logfile /home/simonh/var/log/rkhunter.log --dbdir /home/simonh//var/lib/rkhunter/db --tmpdir /home/simonh/var/lib/rkhunter/tmp echo "" echo " ...END rkhunter" echo ""
and/etc/cron.daily: two.simonh -> /home/simonh/sbin/two.simonh.chron