lenny.conf.j2 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  1. {% if ansible_controlled is defined and ansible_controlled != "" %}
  2. #
  3. # {{ ansible_controlled }}
  4. #
  5. {% endif %}
  6. #
  7. # This is the configuration file for Rootkit Hunter.
  8. #
  9. # Please modify it to your own requirements.
  10. # Please review the documentation before posting bug reports or questions.
  11. # To report bugs, obtain updates, or provide patches or comments, please go to:
  12. # http://rkhunter.sourceforge.net
  13. #
  14. # To ask questions about rkhunter, please use the rkhunter-users mailing list.
  15. # Note this is a moderated list: please subscribe before posting.
  16. #
  17. # Lines beginning with a hash (#), and blank lines, will be ignored.
  18. #
  19. # Most of the following options need only be specified once. If
  20. # they appear more than once, then the last one seen will be used.
  21. # Some options are allowed to appear more than once, and the text
  22. # describing the option will say if this is so.
  23. #
  24. #
  25. # If this option is set to 1, it specifies that the mirrors file, which
  26. # is used when the '--update' and '--versioncheck' options are used, is
  27. # to be rotated. Rotating the entries in the file allows a basic form
  28. # of load-balancing between the mirror sites whenever the above options
  29. # are used.
  30. # If the option is set to 0, then the mirrors will be treated as if in
  31. # a priority list. That is, the first mirror will always be used. The
  32. # second mirror will only be used if the first mirror fails, then the
  33. # third mirror will be used if the second fails and so on.
  34. #
  35. ROTATE_MIRRORS=1
  36. #
  37. # If this option is set to 1, it specifies that when the '--update'
  38. # option is used, then the mirrors file is to be checked for updates
  39. # as well. If the current mirrors file contains any local mirrors,
  40. # these will be prepended to the updated file.
  41. # If this option is set to 0, the mirrors file can only be updated
  42. # manually. This may be useful if only using local mirrors.
  43. #
  44. UPDATE_MIRRORS=1
  45. #
  46. # The MIRRORS_MODE option tells rkhunter which mirrors are to be
  47. # used when the '--update' or '--versioncheck' command-line options
  48. # are given. Possible values are:
  49. # 0 - use any mirror (the default)
  50. # 1 - only use local mirrors
  51. # 2 - only use remote mirrors
  52. #
  53. # Local and remote mirrors can be defined in the mirrors.dat file
  54. # by using the 'local=' and 'remote=' keywords respectively.
  55. #
  56. MIRRORS_MODE=0
  57. #
  58. # Email a message to this address if a warning is found when the
  59. # system is being checked. Multiple addresses may be specified
  60. # simply be separating them with a space.
  61. #
  62. #MAIL-ON-WARNING=me@mydomain root@mydomain
  63. #
  64. # Specify the mail command to use if MAIL-ON-WARNING is set.
  65. # NOTE: Double quotes are not required around the command, but
  66. # are required around the subject line if it contains spaces.
  67. #
  68. MAIL_CMD=mail -s "[rkhunter] Warnings found for ${HOST_NAME}"
  69. #
  70. # Specify the temporary directory to use.
  71. #
  72. # NOTE: Do not use /tmp as your temporary directory. Some
  73. # important files will be written to this directory, so be
  74. # sure that the directory permissions are tight.
  75. #
  76. TMPDIR=/var/lib/rkhunter/tmp
  77. #
  78. # Specify the database directory to use.
  79. #
  80. DBDIR=/var/lib/rkhunter/db
  81. #
  82. # Specify the script directory to use.
  83. #
  84. SCRIPTDIR=/usr/share/rkhunter/scripts
  85. #
  86. # Specify the root directory to use.
  87. #
  88. #ROOTDIR=""
  89. #
  90. # Specify the command directories to be checked. This is a
  91. # space-separated list of directories.
  92. #
  93. BINDIR="/bin /usr/bin /sbin /usr/sbin /usr/local/bin /usr/local/sbin /usr/libexec /usr/local/libexec"
  94. #
  95. # Specify the language to use. This should be similar
  96. # to the ISO 639 language code.
  97. #
  98. # NOTE: Please ensure that the language you specify is supported.
  99. # For a list of supported languages use the following command:
  100. #
  101. # rkhunter --lang en --list languages
  102. #
  103. #LANGUAGE=en
  104. #
  105. # Specify the log file pathname.
  106. #
  107. LOGFILE=/var/log/rkhunter.log
  108. #
  109. # Set the following option to 1 if the log file is to be appended to
  110. # whenever rkhunter is run.
  111. #
  112. APPEND_LOG=0
  113. #
  114. # Set the following option to enable the rkhunter check start and finish
  115. # times to be logged by syslog. Warning messages will also be logged.
  116. # The value of the option must be a standard syslog facility and
  117. # priority, separated by a dot.
  118. #
  119. # For example: USE_SYSLOG=authpriv.warning
  120. #
  121. # Setting the value to 'none', or just leaving the option commented out,
  122. # disables the use of syslog.
  123. #
  124. #USE_SYSLOG=authpriv.notice
  125. #
  126. # Set the following option to 1 if the second colour set is to be used.
  127. # This can be useful if your screen uses black characters on a white
  128. # background (for example, a PC instead of a server).
  129. #
  130. COLOR_SET2=0
  131. #
  132. # Set the following option to 0 if rkhunter should not detect if X is
  133. # being used. If X is detected as being used, then the second colour
  134. # set will automatically be used.
  135. #
  136. AUTO_X_DETECT=1
  137. #
  138. # The following option is checked against the SSH configuration file
  139. # 'PermitRootLogin' option. A warning will be displayed if they do not
  140. # match. However, if a value has not been set in the SSH configuration
  141. # file, then a value here of 'yes' or 'unset' will not cause a warning.
  142. # This option has a default value of 'no'.
  143. #
  144. ALLOW_SSH_ROOT_USER=without-password
  145. #
  146. # Set this option to '1' to allow the use of the SSH-1 protocol, but note
  147. # that theoretically it is weaker, and therefore less secure, than the
  148. # SSH-2 protocol. Do not modify this option unless you have good reasons
  149. # to use the SSH-1 protocol (for instance for AFS token passing or Kerberos4
  150. # authentication). If the 'Protocol' option has not been set in the SSH
  151. # configuration file, then a value of '2' may be set here in order to
  152. # suppress a warning message. This option has a default value of '0'.
  153. #
  154. ALLOW_SSH_PROT_V1=0
  155. #
  156. # This setting tells rkhunter the directory containing the SSH configuration
  157. # file. This setting will be worked out by rkhunter, and so should not
  158. # usually need to be set.
  159. #
  160. #SSH_CONFIG_DIR=/etc/ssh
  161. #
  162. # These two options determine which tests are to be performed.
  163. # The ENABLE_TESTS option can use the word 'all' to refer to all the
  164. # available tests. The DISABLE_TESTS option can use the word 'none' to
  165. # mean that no tests are disabled. The list of disabled tests is applied to
  166. # the list of enabled tests. Both options are space-separated lists of test
  167. # names. The currently available test names can be seen by using the command
  168. # 'rkhunter --list tests'.
  169. #
  170. # The program defaults are to enable all tests and disable none. However, if
  171. # either option is specified in this file, then it overrides the program
  172. # default. The supplied rkhunter.conf file has some tests already disabled,
  173. # and these are tests that will be used only incidentally, can be considered
  174. # "advanced" or those that are prone to produce more than the "average" number
  175. # of "false positives".
  176. #
  177. # Please read the README file for more details about enabling and disabling
  178. # tests, the test names, and how rkhunter behaves when these options are used.
  179. #
  180. # hidden_procs test requires the unhide command which is part of the unhide
  181. # package in Debian.
  182. ENABLE_TESTS="all"
  183. {% set disable_tests = [] %}
  184. {% if not ansible_virtualization_role is defined or ansible_virtualization_role != 'guest' %}
  185. {% if disable_tests.append('os_specific') %}{% endif %}
  186. {%- endif %}
  187. {% if not ansible_virtualization_role is defined or ansible_virtualization_role != 'host' %}
  188. {% if disable_tests.append('promisc') %}{% endif %}
  189. {%- endif %}
  190. DISABLE_TESTS="suspscan hidden_procs deleted_files packet_cap_apps apps {{ disable_tests|join(' ') }}"
  191. #
  192. # The HASH_FUNC option can be used to specify the command to use
  193. # for the file hash value check. It can be specified as just
  194. # the command name or the full pathname. Systems using prelinking
  195. # are restricted to using either SHA1 or MD5 functions. To get rkhunter
  196. # to look for the sha1(sum)/md5(sum) command, or to use the supplied
  197. # perl scripts, simply specify this option as 'SHA1' or 'MD5' in
  198. # uppercase. The default is SHA1, or MD5 if SHA1 cannot be found.
  199. #
  200. # A value of 'NONE' (in uppercase) can be specified to indicate that
  201. # no hash function should be used. Rootkit Hunter will detect this and
  202. # automatically disable the file hash checks.
  203. #
  204. # Examples:
  205. # For Solaris 9 : HASH_FUNC=gmd5sum
  206. # For Solaris 10: HASH_FUNC=sha1sum
  207. # For AIX (>5.2): HASH_FUNC="csum -hMD5"
  208. # For NetBSD : HASH_FUNC="cksum -a sha512"
  209. #
  210. # NOTE: If the hash function is changed then you MUST run rkhunter with
  211. # the '--propupd' option to rebuild the file properties database.
  212. #
  213. #HASH_FUNC=sha1sum
  214. #
  215. # The HASH_FLD_IDX option specifies which field from the HASH_FUNC
  216. # command output contains the hash value. The fields are assumed to
  217. # be space-separated. The default value is one, but for *BSD users
  218. # rkhunter will, by default, use a value of 4 if the HASH_FUNC option
  219. # has not been set. The option value must be a positive integer.
  220. #
  221. #HASH_FLD_IDX=4
  222. #
  223. # The PKGMGR option tells rkhunter to use the specified package manager
  224. # to obtain the file property information. This is used when updating
  225. # the file properties file 'rkhunter.dat', and when running the file
  226. # properties check. For RedHat/RPM-based systems, 'RPM' can be used
  227. # to get information from the RPM database. For Debian-based systems
  228. # 'DPKG' can be used, and for *BSD systems 'BSD' can be used.
  229. # No value, or a value of 'NONE', indicates that no package manager
  230. # is to be used. The default is 'NONE'.
  231. #
  232. # The current package managers store the file hash values using an
  233. # MD5 hash function.
  234. #
  235. # The 'DPKG' and 'BSD' package managers only provide MD5 hash values.
  236. # The 'RPM' package manager additionally provides values for the inode,
  237. # file permissions, uid, gid and other values.
  238. #
  239. # For any file not part of a package, rkhunter will revert to using
  240. # the HASH_FUNC hash function instead.
  241. #
  242. # NONE is the default for Debian as well, as running --propupd takes
  243. # about 4 times longer when it's set to DPKG
  244. #
  245. #PKGMGR=NONE
  246. #
  247. # Whitelist various attributes of the specified files.
  248. # The attributes are those of the 'attributes' test.
  249. # Specifying a file name here does not include it being
  250. # whitelisted for the write permission test below.
  251. # One command per line (use multiple ATTRWHITELIST lines).
  252. #
  253. #ATTRWHITELIST=/bin/ps
  254. #
  255. # Allow the specified commands to have the 'others'
  256. # (world) permission have the write-bit set.
  257. #
  258. # For example, files with permissions r-xr-xrwx
  259. # or rwxrwxrwx.
  260. #
  261. # One command per line (use multiple WRITEWHITELIST lines).
  262. #
  263. #WRITEWHITELIST=/bin/ps
  264. #
  265. # Allow the specified commands to be scripts.
  266. # One command per line (use multiple SCRIPTWHITELIST lines).
  267. #
  268. SCRIPTWHITELIST=/bin/egrep
  269. SCRIPTWHITELIST=/bin/fgrep
  270. SCRIPTWHITELIST=/bin/which
  271. SCRIPTWHITELIST=/usr/bin/groups
  272. SCRIPTWHITELIST=/usr/bin/ldd
  273. SCRIPTWHITELIST=/usr/bin/lwp-request
  274. SCRIPTWHITELIST=/usr/sbin/adduser
  275. SCRIPTWHITELIST=/usr/sbin/prelink
  276. #
  277. # Allow the specified commands to have the immutable attribute set.
  278. # One command per line (use multiple IMMUTWHITELIST lines).
  279. #
  280. #IMMUTWHITELIST=/sbin/ifup
  281. #
  282. # Allow the specified hidden directories.
  283. # One directory per line (use multiple ALLOWHIDDENDIR lines).
  284. #
  285. #ALLOWHIDDENDIR=/etc/.java
  286. #ALLOWHIDDENDIR=/dev/.udev
  287. #ALLOWHIDDENDIR=/dev/.udevdb
  288. #ALLOWHIDDENDIR=/dev/.udev.tdb
  289. #ALLOWHIDDENDIR=/dev/.static
  290. #ALLOWHIDDENDIR=/dev/.initramfs
  291. #ALLOWHIDDENDIR=/dev/.SRC-unix
  292. ALLOWHIDDENDIR=/dev/.mdadm
  293. ALLOWHIDDENDIR=/dev/.git
  294. #
  295. # Allow the specified hidden files.
  296. # One file per line (use multiple ALLOWHIDDENFILE lines).
  297. #
  298. #ALLOWHIDDENFILE=/etc/.java
  299. #ALLOWHIDDENFILE=/usr/share/man/man1/..1.gz
  300. #ALLOWHIDDENFILE=/etc/.pwd.lock
  301. #ALLOWHIDDENFILE=/etc/.init.state
  302. ALLOWHIDDENFILE=/etc/.etckeeper
  303. ALLOWHIDDENFILE=/etc/.gitignore
  304. #
  305. # Allow the specified processes to use deleted files.
  306. # One process per line (use multiple ALLOWPROCDELFILE lines).
  307. #
  308. #ALLOWPROCDELFILE=/sbin/cardmgr
  309. #ALLOWPROCDELFILE=/usr/sbin/gpm
  310. #ALLOWPROCDELFILE=/usr/lib/libgconf2-4/gconfd-2
  311. #ALLOWPROCDELFILE=/usr/sbin/mysqld
  312. #ALLOWPROCDELFILE=/usr/lib/iceweasel/firefox-bin
  313. #ALLOWPROCDELFILE=/usr/bin/file-roller
  314. #
  315. # Allow the specified processes to listen on any network interface.
  316. # One process per line (use multiple ALLOWPROCLISTEN lines).
  317. #
  318. #ALLOWPROCLISTEN=/sbin/dhclient
  319. #ALLOWPROCLISTEN=/sbin/dhclient3
  320. #ALLOWPROCLISTEN=/sbin/dhcpcd
  321. #ALLOWPROCLISTEN=/usr/sbin/pppoe
  322. #ALLOWPROCLISTEN=/usr/sbin/tcpdump
  323. #ALLOWPROCLISTEN=/usr/sbin/snort-plain
  324. #ALLOWPROCLISTEN=/sbin/wpa_supplicant
  325. #
  326. # SCAN_MODE_DEV governs how we scan /dev for suspicious files.
  327. # The two allowed options are: THOROUGH or LAZY.
  328. # If commented out we do a THOROUGH scan which will increase the runtime.
  329. # Even though this adds to the running time it is highly recommended to
  330. # leave it like this.
  331. #
  332. #SCAN_MODE_DEV=THOROUGH
  333. #
  334. # Allow the specified files to be present in the /dev directory,
  335. # and not regarded as suspicious. One file per line (use multiple
  336. # ALLOWDEVFILE lines).
  337. #
  338. #ALLOWDEVFILE=/dev/abc
  339. #ALLOWDEVFILE=/dev/shm/pulse-shm-*
  340. ALLOWDEVFILE=/dev/shm/network/ifstate
  341. #
  342. # This setting tells rkhunter where the inetd configuration
  343. # file is located.
  344. #
  345. #INETD_CONF_PATH=/etc/inetd.conf
  346. #
  347. # Allow the following enabled inetd services.
  348. # Only one service per line (use multiple INETD_ALLOWED_SVC lines).
  349. #
  350. # Below are some Solaris 9 and 10 services that may want to be whitelisted.
  351. #
  352. #INETD_ALLOWED_SVC=echo
  353. #INETD_ALLOWED_SVC=/usr/dt/bin/rpc.ttdbserverd
  354. #INETD_ALLOWED_SVC=/usr/openwin/lib/fs.auto
  355. #INETD_ALLOWED_SVC=/usr/lib/smedia/rpc.smserverd
  356. #INETD_ALLOWED_SVC=/usr/sbin/rpc.metad
  357. #INETD_ALLOWED_SVC=/usr/sbin/rpc.metamhd
  358. #INETD_ALLOWED_SVC=/usr/sbin/rpc.metamedd
  359. #INETD_ALLOWED_SVC=/usr/sbin/rpc.mdcommd
  360. #INETD_ALLOWED_SVC=/usr/dt/bin/dtspcd
  361. #INETD_ALLOWED_SVC=/usr/dt/bin/rpc.cmsd
  362. #INETD_ALLOWED_SVC=/usr/lib/gss/gssd
  363. #INETD_ALLOWED_SVC=/usr/lib/ST/stfsloader
  364. #INETD_ALLOWED_SVC=/usr/lib/fs/cachefs/cachefsd
  365. #INETD_ALLOWED_SVC=/network/rpc/mdcomm
  366. #INETD_ALLOWED_SVC=/network/rpc/meta
  367. #INETD_ALLOWED_SVC=/network/rpc/metamed
  368. #INETD_ALLOWED_SVC=/network/rpc/metamh
  369. #INETD_ALLOWED_SVC=/network/security/ktkt_warn
  370. #INETD_ALLOWED_SVC=/application/x11/xfs
  371. #INETD_ALLOWED_SVC=/application/print/rfc1179
  372. #INETD_ALLOWED_SVC=/application/font/stfsloader
  373. #INETD_ALLOWED_SVC=/network/rpc-100235_1/rpc_ticotsord
  374. #INETD_ALLOWED_SVC=/network/rpc-100083_1/rpc_tcp
  375. #INETD_ALLOWED_SVC=/network/rpc-100068_2-5/rpc_udp
  376. #INETD_ALLOWED_SVC=/usr/sbin/tcpd
  377. #
  378. # This setting tells rkhunter where the xinetd configuration
  379. # file is located.
  380. #
  381. #XINETD_CONF_PATH=/etc/xinetd.conf
  382. #
  383. # Allow the following enabled xinetd services. Whilst it would be
  384. # nice to use the service names themselves, at the time of testing
  385. # we only have the pathname available. As such, these entries are
  386. # the xinetd file pathnames.
  387. # Only one service (file) per line (use multiple XINETD_ALLOWED_SVC lines).
  388. #
  389. #XINETD_ALLOWED_SVC=/etc/xinetd.d/echo
  390. #
  391. # This setting tells rkhunter the local system startup file pathnames.
  392. # More than one file may be present on the system, and so this option
  393. # can be a space-separated list. This setting will be worked out by
  394. # rkhunter, and so should not usually need to be set.
  395. #
  396. # If the system uses a directory of local startup scripts, then rather
  397. # that setting all the file names here, leave this setting blank, and
  398. # specify the directory name in SYSTEM_RC_DIR instead.
  399. #
  400. # If the system does not use a local startup script at all, then this
  401. # setting can be set to 'none'. Without this, rkhunter would give a
  402. # warning that no local startup script could be found.
  403. #
  404. #LOCAL_RC_PATH="/etc/rc.local /etc/rc.d/rc.sysinit"
  405. #
  406. # This setting tells rkhunter the local system startup file directory.
  407. # This setting will be worked out by rkhunter, and so should not usually
  408. # need to be set.
  409. #
  410. #SYSTEM_RC_DIR=/etc/rc.d
  411. #
  412. # This setting tells rkhunter the pathname to the file containing the
  413. # user account passwords. This setting will be worked out by rkhunter,
  414. # and so should not usually need to be set.
  415. #
  416. #PASSWORD_FILE=/etc/shadow
  417. #
  418. # Allow the following accounts to be root equivalent. These accounts
  419. # will have a UID value of zero. This option is a space-separated list
  420. # of account names. The 'root' account does not need to be listed as it
  421. # is automatically whitelisted.
  422. #
  423. # Note: For *BSD systems you may need to enable this for the 'toor' account.
  424. #
  425. #UID0_ACCOUNTS="toor rooty sashroot"
  426. #
  427. # Allow the following accounts to have no password. This option is a
  428. # space-separated list of account names. NIS/YP entries do not need to
  429. # be listed as they are automatically whitelisted.
  430. #
  431. #PWDLESS_ACCOUNTS="abc"
  432. #
  433. # This setting tells rkhunter the pathname to the syslog configuration
  434. # file. This setting will be worked out by rkhunter, and so should not
  435. # usually need to be set.
  436. #
  437. #SYSLOG_CONFIG_FILE=/etc/syslog.conf
  438. #
  439. # This option permits the use of syslog remote logging.
  440. #
  441. ALLOW_SYSLOG_REMOTE_LOGGING=0
  442. #
  443. # Allow the following applications, or a specific version of an application,
  444. # to be whitelisted. This option is a space-separated list consisting of the
  445. # application names. If a specific version is to be whitelisted, then the
  446. # name must be followed by a colon and then the version number.
  447. #
  448. # For example: APP_WHITELIST="openssl:0.9.7d gpg"
  449. #
  450. #APP_WHITELIST=""
  451. #
  452. # Scan for suspicious files in directories containing temporary files and
  453. # directories posing a relatively higher risk due to user write access.
  454. # Please do not enable by default as suspscan is CPU and I/O intensive and prone to
  455. # producing false positives. Do review all settings before usage.
  456. # Also be aware that running suspscan in combination with verbose logging on,
  457. # RKH's default, will show all ignored files.
  458. # Please consider adding all directories the user the (web)server runs as has
  459. # write access to including the document root (example: "/var/www") and log
  460. # directories (example: "/var/log/httpd").
  461. #
  462. # A space-separated list of directories to scan.
  463. #
  464. SUSPSCAN_DIRS="/tmp /var/tmp"
  465. #
  466. # Directory for temporary files. A memory-based one is better (faster).
  467. # Do not use a directory name that is listed in SUSPSCAN_DIRS.
  468. # Please make sure you have a tempfs mounted and the directory exists.
  469. #
  470. SUSPSCAN_TEMP=/dev/shm
  471. #
  472. # Maximum filesize in bytes. Files larger than this will not be inspected.
  473. # Do make sure you have enough space left in your temporary files directory.
  474. #
  475. SUSPSCAN_MAXSIZE=10240000
  476. #
  477. # Score threshold. Below this value no hits will be reported.
  478. # A value of "200" seems "good" after testing on malware. Please adjust
  479. # locally if necessary.
  480. #
  481. SUSPSCAN_THRESH=200
  482. #
  483. # The following option can be used to whitelist network ports which
  484. # are known to have been used by malware. The option is a space-
  485. # separated list of one or more of three types of whitelisting.
  486. # These are:
  487. #
  488. # 1) a 'protocol:port' pair (e.g. TCP:25)
  489. # 2) a pathname to an executable (e.g. /usr/sbin/squid)
  490. # 3) an asterisk ('*')
  491. #
  492. # Only the UDP or TCP protocol may be specified, and the port number
  493. # must be between 1 and 65535 inclusive.
  494. #
  495. # The asterisk can be used to indicate that any executable in a trusted
  496. # path directory will be whitelisted. A trusted path directory is one which
  497. # rkhunter uses to locate commands. It is composed of the root PATH
  498. # environment variable, and the BINDIR command-line or configuration
  499. # file option.
  500. #
  501. # For example: PORT_WHITELIST="/home/user1/abc /opt/xyz TCP:2001 UDP:32011"
  502. #
  503. #PORT_WHITELIST=""
  504. #
  505. # The following option can be used to tell rkhunter where the operating
  506. # system 'release' file is located. This file contains information
  507. # specifying the current O/S version. RKH will store this information
  508. # itself, and check to see if it has changed between each run. If it has
  509. # changed, then the user is warned that RKH may issue warning messages
  510. # until RKH has been run with the '--propupd' option.
  511. #
  512. # Since the contents of the file vary according to the O/S distribution,
  513. # RKH will perform different actions when it detects the file itself. As
  514. # such, this option should not be set unless necessary. If this option is
  515. # specified, then RKH will assume the O/S release information is on the
  516. # first non-blank line of the file.
  517. #
  518. #OS_VERSION_FILE="/etc/release"
  519. #
  520. # The following two options can be used to whitelist files and directories
  521. # that would normally be flagged with a warning during the rootkit checks.
  522. # If the file or directory name contains a space, then the percent character
  523. # ('%') must be used instead. Only existing files and directories can be
  524. # specified.
  525. #
  526. #RTKT_DIR_WHITELIST=""
  527. #RTKT_FILE_WHITELIST=""
  528. #
  529. # To force rkhunter to use the supplied script for the 'stat' or 'readlink'
  530. # command, then the following two options can be used. The value must be
  531. # set to 'BUILTIN'.
  532. #
  533. # NOTE: IRIX users will probably need to enable STAT_CMD.
  534. #
  535. #STAT_CMD=BUILTIN
  536. #READLINK_CMD=BUILTIN
  537. INSTALLDIR="/usr"