|
Line 0
Link Here
|
|
|
1 |
--- files/rkhunter.conf.orig 2014-01-25 21:29:51 UTC |
| 2 |
+++ files/rkhunter.conf |
| 3 |
@@ -154,7 +154,7 @@ |
| 4 |
# subsequently commented out or removed, then the program will assume a |
| 5 |
# default directory beneath the installation directory. |
| 6 |
# |
| 7 |
-#TMPDIR=/var/lib/rkhunter/tmp |
| 8 |
+TMPDIR=RKHPREFIX/var/lib/rkhunter/tmp |
| 9 |
|
| 10 |
# |
| 11 |
# This option specifies the database directory to use. |
| 12 |
@@ -163,7 +163,7 @@ |
| 13 |
# subsequently commented out or removed, then the program will assume a |
| 14 |
# default directory beneath the installation directory. |
| 15 |
# |
| 16 |
-#DBDIR=/var/lib/rkhunter/db |
| 17 |
+DBDIR=RKHPREFIX/var/lib/rkhunter/db |
| 18 |
|
| 19 |
# |
| 20 |
# This option specifies the script directory to use. |
| 21 |
@@ -171,7 +171,7 @@ |
| 22 |
# The installer program will set the default directory. If this default is |
| 23 |
# subsequently commented out or removed, then the program will not run. |
| 24 |
# |
| 25 |
-#SCRIPTDIR=/usr/local/lib/rkhunter/scripts |
| 26 |
+SCRIPTDIR=RKHPREFIX/lib/rkhunter/scripts |
| 27 |
|
| 28 |
# |
| 29 |
# This option can be used to modify the command directory list used by rkhunter |
| 30 |
@@ -303,7 +303,7 @@ AUTO_X_DETECT=1 |
| 31 |
# |
| 32 |
# The default value is 'no'. |
| 33 |
# |
| 34 |
-#ALLOW_SSH_ROOT_USER=no |
| 35 |
+ALLOW_SSH_ROOT_USER=unset |
| 36 |
|
| 37 |
# |
| 38 |
# Set this option to '1' to allow the use of the SSH-1 protocol, but note |
| 39 |
@@ -317,7 +317,7 @@ AUTO_X_DETECT=1 |
| 40 |
# |
| 41 |
# The default value is '0'. |
| 42 |
# |
| 43 |
-#ALLOW_SSH_PROT_V1=0 |
| 44 |
+ALLOW_SSH_PROT_V1=2 |
| 45 |
|
| 46 |
# |
| 47 |
# This setting tells rkhunter the directory containing the SSH configuration |
| 48 |
@@ -575,6 +575,8 @@ DISABLE_TESTS=suspscan hidden_ports hidden_procs delet |
| 49 |
# The default value is the null string. |
| 50 |
# |
| 51 |
#SCRIPTWHITELIST=/usr/bin/groups |
| 52 |
+SCRIPTWHITELIST=/usr/bin/whatis |
| 53 |
+SCRIPTWHITELIST=/usr/sbin/adduser |
| 54 |
|
| 55 |
# |
| 56 |
# Allow the specified file to have the immutable attribute set. |
| 57 |
@@ -584,6 +586,10 @@ DISABLE_TESTS=suspscan hidden_ports hidden_procs delet |
| 58 |
# The default value is the null string. |
| 59 |
# |
| 60 |
#IMMUTWHITELIST=/sbin/ifdown |
| 61 |
+IMMUTWHITELIST=/usr/bin/login |
| 62 |
+IMMUTWHITELIST=/usr/bin/passwd |
| 63 |
+IMMUTWHITELIST=/usr/bin/su |
| 64 |
+IMMUTWHITELIST=/sbin/init |
| 65 |
|
| 66 |
# |
| 67 |
# If this option is set to '1', then the immutable-bit test is reversed. That |
| 68 |
@@ -787,6 +793,7 @@ DISABLE_TESTS=suspscan hidden_ports hidden_procs delet |
| 69 |
# The default value is the null string. |
| 70 |
# |
| 71 |
#UID0_ACCOUNTS=toor rooty |
| 72 |
+UID0_ACCOUNTS=toor |
| 73 |
|
| 74 |
# |
| 75 |
# This option allows the specified accounts to have no password. NIS/YP entries |
| 76 |
@@ -1222,3 +1229,6 @@ DISABLE_TESTS=suspscan hidden_ports hidden_procs delet |
| 77 |
# |
| 78 |
#EMPTY_LOGFILES="" |
| 79 |
#MISSING_LOGFILES="" |
| 80 |
+ |
| 81 |
+INSTALLDIR=RKHPREFIX |
| 82 |
+USER_FILEPROP_FILES_DIRS=RKHPREFIX/etc/rkhunter.conf |