jessie.conf.j2 45 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. #
  6. # This is the main configuration file for Rootkit Hunter.
  7. #
  8. # You can modify this file directly, or you can create a local configuration
  9. # file. The local file must be named 'rkhunter.conf.local', and must reside
  10. # in the same directory as this file. Alternatively you can create a directory,
  11. # named 'rkhunter.d', which also must be in the same directory as this
  12. # configuration file. Within the 'rkhunter.d' directory you can place further
  13. # configuration files. There is no restriction on the file names used, other
  14. # than they must end in '.conf'.
  15. #
  16. # Please modify the configuration file(s) to your own requirements. It is
  17. # recommended that the command 'rkhunter -C' is run after any changes have
  18. # been made.
  19. #
  20. # Please review the documentation before posting bug reports or questions.
  21. # To report bugs, obtain updates, or provide patches or comments, please go
  22. # to: http://rkhunter.sourceforge.net
  23. #
  24. # To ask questions about rkhunter, please use the 'rkhunter-users' mailing list.
  25. # Note that this is a moderated list, so please subscribe before posting.
  26. #
  27. # In the configuration files, lines beginning with a hash (#), and blank lines,
  28. # are ignored. Also, end-of-line comments are not supported.
  29. #
  30. # Any of the configuration options may appear more than once. However, several
  31. # options only take one value, and so the last one seen will be used. Some
  32. # options are allowed to appear more than once, and the text describing the
  33. # option will say if this is so. These configuration options will, in effect,
  34. # have their values concatenated together. To delete a previously specified
  35. # option list, specify the option with no value (that is, a null string).
  36. #
  37. # Some of the options are space-separated lists, others, typically those
  38. # specifying pathnames, are newline-separated lists. These must be entered
  39. # as one item per line. Quotes must not be used to surround the pathname.
  40. #
  41. # For example, to specify two pathnames, '/tmp/abc' and '/tmp/xyz', for an
  42. # option: XXX=/tmp/abc (correct)
  43. # XXX=/tmp/xyz
  44. #
  45. # XXX="/tmp/abc" (incorrect)
  46. # XXX="/tmp/xyz"
  47. #
  48. # XXX=/tmp/abc /tmp/xyz (incorrect)
  49. # or XXX="/tmp/abc /tmp/xyz" (incorrect)
  50. # or XXX="/tmp/abc" "/tmp/xyz" (incorrect)
  51. #
  52. # The last three examples are being configured as space-separated lists,
  53. # which is incorrect, generally, for options specifying pathnames. They
  54. # should be configured with one entry per line as in the first example.
  55. #
  56. # If wildcard characters (globbing) are allowed for an option, then the
  57. # text describing the option will say so.
  58. #
  59. # Space-separated lists may be enclosed by quotes, although they are not
  60. # required. If they are used, then they must only appear at the start and
  61. # end of the list, not in the middle.
  62. #
  63. # For example: XXX=abc def gh (correct)
  64. # XXX="abc def gh" (correct)
  65. # XXX="abc" "def" "gh" (incorrect)
  66. #
  67. # Space-separated lists may also be entered simply as one entry per line.
  68. #
  69. # For example: XXX=abc (correct)
  70. # XXX=def
  71. # XXX="gh"
  72. #
  73. # If a configuration option is never set, then the program will assume a
  74. # default value. The text describing the option will state the default value.
  75. # If there is no default, then rkhunter will calculate a value or pathname
  76. # to use.
  77. #
  78. #
  79. # If this option is set to '1', it specifies that the mirrors file
  80. # ('mirrors.dat'), which is used when the '--update' and '--versioncheck'
  81. # options are used, is to be rotated. Rotating the entries in the file allows
  82. # a basic form of load-balancing between the mirror sites whenever the above
  83. # options are used.
  84. #
  85. # If the option is set to '0', then the mirrors will be treated as if in a
  86. # priority list. That is, the first mirror listed will always be used first.
  87. # The second mirror will only be used if the first mirror fails, the third
  88. # mirror will only be used if the second mirror fails, and so on.
  89. #
  90. # If the mirrors file is read-only, then the '--versioncheck' command-line
  91. # option can only be used if this option is set to '0'.
  92. #
  93. # The default value is '1'.
  94. #
  95. #ROTATE_MIRRORS=1
  96. #
  97. # If this option is set to '1', it specifies that when the '--update' option is
  98. # used, then the mirrors file is to be checked for updates as well. If the
  99. # current mirrors file contains any local mirrors, these will be prepended to
  100. # the updated file. If this option is set to '0', the mirrors file can only be
  101. # updated manually. This may be useful if only using local mirrors.
  102. #
  103. # The default value is '1'.
  104. #
  105. #UPDATE_MIRRORS=1
  106. #
  107. # The MIRRORS_MODE option tells rkhunter which mirrors are to be used when
  108. # the '--update' or '--versioncheck' command-line options are given.
  109. # Possible values are:
  110. # 0 - use any mirror
  111. # 1 - only use local mirrors
  112. # 2 - only use remote mirrors
  113. #
  114. # Local and remote mirrors can be defined in the mirrors file by using the
  115. # 'local=' and 'remote=' keywords respectively.
  116. #
  117. # The default value is '0'.
  118. #
  119. #MIRRORS_MODE=0
  120. #
  121. # Email a message to this address if a warning is found when the system is
  122. # being checked. Multiple addresses may be specified simply be separating
  123. # them with a space. To disable the option, simply set it to the null string
  124. # or comment it out.
  125. #
  126. # The option may be specified more than once.
  127. #
  128. # The default value is the null string.
  129. #
  130. # Also see the MAIL_CMD option.
  131. #
  132. #MAIL-ON-WARNING=me@mydomain root@mydomain
  133. #
  134. # This option specifies the mail command to use if MAIL-ON-WARNING is set.
  135. #
  136. # NOTE: Double quotes are not required around the command, but are required
  137. # around the subject line if it contains spaces.
  138. #
  139. # The default is to use the 'mail' command, with a subject line
  140. # of '[rkhunter] Warnings found for ${HOST_NAME}'.
  141. #
  142. #MAIL_CMD=mail -s "[rkhunter] Warnings found for ${HOST_NAME}"
  143. #
  144. # This option specifies the directory to use for temporary files.
  145. #
  146. # NOTE: Do not use '/tmp' as your temporary directory. Some important files
  147. # will be written to this directory, so be sure that the directory permissions
  148. # are secure.
  149. #
  150. # The installer program will set the default directory. If this default is
  151. # subsequently commented out or removed, then the program will assume a
  152. # default directory beneath the installation directory.
  153. #
  154. TMPDIR=/var/lib/rkhunter/tmp
  155. #
  156. # This option specifies the database directory to use.
  157. #
  158. # The installer program will set the default directory. If this default is
  159. # subsequently commented out or removed, then the program will assume a
  160. # default directory beneath the installation directory.
  161. #
  162. DBDIR=/var/lib/rkhunter/db
  163. #
  164. # This option specifies the script directory to use.
  165. #
  166. # The installer program will set the default directory. If this default is
  167. # subsequently commented out or removed, then the program will not run.
  168. #
  169. SCRIPTDIR=/usr/share/rkhunter/scripts
  170. #
  171. # This option can be used to modify the command directory list used by rkhunter
  172. # to locate commands (that is, its PATH). By default this will be the root PATH,
  173. # and an internal list of some common command directories.
  174. #
  175. # Any directories specified here will, by default, be appended to the default
  176. # list. However, if a directory name begins with the '+' character, then that
  177. # directory will be prepended to the list (that is, it will be put at the start
  178. # of the list).
  179. #
  180. # This is a space-separated list of directory names. The option may be
  181. # specified more than once.
  182. #
  183. # The default value is based on the root account PATH environment variable.
  184. #
  185. #BINDIR=/bin /usr/bin /sbin /usr/sbin
  186. #BINDIR=+/usr/local/bin +/usr/local/sbin
  187. #
  188. # This option specifies the default language to use. This should be similar to
  189. # the ISO 639 language code.
  190. #
  191. # NOTE: Please ensure that the language you specify is supported.
  192. # For a list of supported languages use the following command:
  193. #
  194. # rkhunter --lang en --list languages
  195. #
  196. # The default language is 'en' (English).
  197. #
  198. #LANGUAGE=en
  199. #
  200. # This option is a space-separated list of the languages that are to be updated
  201. # when the '--update' option is used. If unset, then all the languages will be
  202. # updated. If none of the languages are to be updated, then set this option to
  203. # just 'en'.
  204. #
  205. # The default language, specified by the LANGUAGE option, and the English (en)
  206. # language file will always be updated regardless of this option.
  207. #
  208. # This option may be specified more than once.
  209. #
  210. # The default value is the null string, indicating that all the language files
  211. # will be updated.
  212. #
  213. #UPDATE_LANG=""
  214. #
  215. # This option specifies the log file pathname. The file will be created if it
  216. # does not initially exist. If the option is unset, then the program will
  217. # display a message each time it is run saying that the default value is being
  218. # used.
  219. #
  220. # The default value is '/var/log/rkhunter.log'.
  221. #
  222. LOGFILE=/var/log/rkhunter.log
  223. #
  224. # Set this option to '1' if the log file is to be appended to whenever rkhunter
  225. # is run. A value of '0' will cause a new log file to be created whenever the
  226. # program is run.
  227. #
  228. # The default value is '0'.
  229. #
  230. #APPEND_LOG=0
  231. #
  232. # Set the following option to '1' if the log file is to be copied when rkhunter
  233. # finishes and an error or warning has occurred. The copied log file name will
  234. # be appended with the current date and time (in YYYY-MM-DD_HH:MM:SS format).
  235. # For example: rkhunter.log.2009-04-21_00:57:51
  236. # If the option value is '0', then the log file will not be copied regardless
  237. # of whether any errors or warnings occurred.
  238. #
  239. # The default value is '0'.
  240. #
  241. #COPY_LOG_ON_ERROR=0
  242. #
  243. # Set the following option to enable the rkhunter check start and finish times
  244. # to be logged by syslog. Warning messages will also be logged. The value of
  245. # the option must be a standard syslog facility and priority, separated by a
  246. # dot. For example:
  247. #
  248. # USE_SYSLOG=authpriv.warning
  249. #
  250. # Setting the value to 'NONE', or just leaving the option commented out,
  251. # disables the use of syslog.
  252. #
  253. # The default value is not to use syslog.
  254. #
  255. #USE_SYSLOG=authpriv.notice
  256. #
  257. # Set the following option to '1' if the second colour set is to be used. This
  258. # can be useful if your screen uses black characters on a white background
  259. # (for example, a PC instead of a server). A value of '0' will cause the default
  260. # colour set to be used.
  261. #
  262. # The default value is '0'.
  263. #
  264. #COLOR_SET2=0
  265. #
  266. # Set the following option to '0' if rkhunter should not detect if X is being
  267. # used. If X is detected as being used, then the second colour set will
  268. # automatically be used. If set to '1', then the use of X will be detected.
  269. #
  270. # The default value is '0'.
  271. #
  272. AUTO_X_DETECT=1
  273. #
  274. # Set the following option to '1' if it is wanted that any 'Whitelisted' results
  275. # are shown in white rather than green. For colour set 2 users, setting this
  276. # option will cause the result to be shown in black. Setting the option to '0'
  277. # causes whitelisted results to be displayed in green.
  278. #
  279. # The default value is '0'.
  280. #
  281. #WHITELISTED_IS_WHITE=0
  282. #
  283. # The following option is checked against the SSH configuration file
  284. # 'PermitRootLogin' option. A warning will be displayed if they do not match.
  285. # However, if a value has not been set in the SSH configuration file, then a
  286. # value here of 'unset' can be used to avoid warning messages.
  287. #
  288. # The default value is 'no'.
  289. #
  290. ALLOW_SSH_ROOT_USER=without-password
  291. #
  292. # Set this option to '1' to allow the use of the SSH-1 protocol, but note
  293. # that theoretically it is weaker, and therefore less secure, than the
  294. # SSH-2 protocol. Do not modify this option unless you have good reasons
  295. # to use the SSH-1 protocol (for instance for AFS token passing or Kerberos4
  296. # authentication). If the 'Protocol' option has not been set in the SSH
  297. # configuration file, then a value of '2' may be set here in order to
  298. # suppress a warning message. A value of '0' indicates that the use of
  299. # SSH-1 is not allowed.
  300. #
  301. # The default value is '0'.
  302. #
  303. #ALLOW_SSH_PROT_V1=0
  304. #
  305. # This setting tells rkhunter the directory containing the SSH configuration
  306. # file. This setting will be worked out by rkhunter, and so should not
  307. # usually need to be set.
  308. #
  309. # This option has no default value.
  310. #
  311. #SSH_CONFIG_DIR=/etc/ssh
  312. #
  313. # These two options determine which tests are to be performed. The ENABLE_TESTS
  314. # option can use the word 'ALL' to refer to all of the available tests. The
  315. # DISABLE_TESTS option can use the word 'NONE' to mean that no tests are
  316. # disabled. The list of disabled tests is applied to the list of enabled tests.
  317. #
  318. # Both options are space-separated lists of test names, and both options may
  319. # be specified more than once. The currently available test names can be seen
  320. # by using the command 'rkhunter --list tests'.
  321. #
  322. # The supplied configuration file has some tests already disabled, and these
  323. # are tests that will be used only occasionally, can be considered 'advanced'
  324. # or that are prone to produce more than the average number of false-positives.
  325. #
  326. # Please read the README file for more details about enabling and disabling
  327. # tests, the test names, and how rkhunter behaves when these options are used.
  328. #
  329. # The default values are to enable all tests and to disable none. However, if
  330. # either of the options below are specified, then they will override the
  331. # program defaults.
  332. #
  333. # hidden_procs test requires the unhide and/or unhide.rb commands which are
  334. # part of the unhide respectively unhide.rb packages in Debian.
  335. #
  336. # apps test is disabled by default as it triggers warnings about outdated
  337. # applications (and warns about possible security risk: we better trust
  338. # the Debian Security Team).
  339. #
  340. ENABLE_TESTS=ALL
  341. {% set disable_tests = [] %}
  342. {% if not ansible_virtualization_role is defined or ansible_virtualization_role != 'guest' -%}
  343. {% if disable_tests.append('os_specific') %}{% endif %}
  344. {%- endif %}
  345. {% if not ansible_virtualization_role is defined or ansible_virtualization_role != 'host' -%}
  346. {% if disable_tests.append('promisc') %}{% endif %}
  347. {%- endif %}
  348. DISABLE_TESTS=suspscan hidden_procs deleted_files packet_cap_apps apps {{ disable_tests|join(' ') }}
  349. #
  350. # The HASH_CMD option can be used to specify the command to use for the file
  351. # properties hash value check. It can be specified as just the command name or
  352. # the full pathname. If just the command name is given, and it is one of MD5,
  353. # SHA1, SHA224, SHA256, SHA384 or SHA512, then rkhunter will first look for the
  354. # relevant command, such as 'sha256sum', and then for 'sha256'. If neither of
  355. # these are found, it will then look to see if a perl module has been installed
  356. # which will support the relevant hash function. To see which perl modules have
  357. # been installed use the command 'rkhunter --list perl'.
  358. #
  359. # Systems using prelinking are restricted to using either the SHA1 or MD5
  360. # function.
  361. #
  362. # A value of 'NONE' (in uppercase) can be specified to indicate that no hash
  363. # function should be used. Rkhunter will detect this, and automatically disable
  364. # the file properties hash check test.
  365. #
  366. # Examples:
  367. # For Solaris 9 : HASH_CMD=gmd5sum
  368. # For Solaris 10: HASH_CMD=sha1sum
  369. # For AIX (>5.2): HASH_CMD="csum -hMD5"
  370. # For NetBSD : HASH_CMD="cksum -a sha512"
  371. #
  372. # NOTE: Whenever this option is changed 'rkhunter --propupd' must be run.
  373. #
  374. # The default value is the SHA1 function, or MD5 if SHA1 cannot be found.
  375. #
  376. # Also see the HASH_FLD_IDX option.
  377. #
  378. #HASH_CMD=sha1sum
  379. #
  380. # The HASH_FLD_IDX option specifies which field from the HASH_CMD command
  381. # output contains the hash value. The fields are assumed to be space-separated.
  382. #
  383. # The option value must be an integer greater than zero.
  384. #
  385. # The default value is '1', but for *BSD users rkhunter will, by default, use a
  386. # value of '4' if the HASH_CMD option has not been set.
  387. #
  388. #HASH_FLD_IDX=4
  389. #
  390. # The PKGMGR option tells rkhunter to use the specified package manager to
  391. # obtain the file property information. This is used when updating the file
  392. # properties file ('rkhunter.dat'), and when running the file properties check.
  393. # For RedHat/RPM-based systems, 'RPM' can be used to get information from the
  394. # RPM database. For Debian-based systems 'DPKG' can be used, for *BSD systems
  395. # 'BSD' can be used, and for Solaris systems 'SOLARIS' can be used. No value,
  396. # or a value of 'NONE', indicates that no package manager is to be used.
  397. #
  398. # The current package managers, except 'SOLARIS', store the file hash values
  399. # using an MD5 hash function. The Solaris package manager includes a checksum
  400. # value, but this is not used by default (see USE_SUNSUM below).
  401. #
  402. # The 'DPKG' and 'BSD' package managers only provide MD5 hash values.
  403. # The 'RPM' package manager additionally provides values for the inode,
  404. # file permissions, uid, gid and other values. The 'SOLARIS' also provides
  405. # most of the values, similar to 'RPM', but not the inode number.
  406. #
  407. # For any file not part of a package, rkhunter will revert to using the
  408. # HASH_CMD hash function instead.
  409. #
  410. # NOTE: Whenever this option is changed 'rkhunter --propupd' must be run.
  411. #
  412. # The default value is 'NONE'.
  413. #
  414. # Also see the PKGMGR_NO_VRFY and USE_SUNSUM options.
  415. #
  416. # NONE is the default for Debian as well, as running --propupd takes
  417. # about 4 times longer when it's set to DPKG
  418. #
  419. #PKGMGR=NONE
  420. #
  421. # It is possible that a file, which is part of a package, may have been
  422. # modified by the administrator. Typically this occurs for configuration
  423. # files. However, the package manager may list the file as being modified.
  424. # For the RPM package manager this may well depend on how the package was
  425. # built. This option specifies a pathname which is to be exempt from the
  426. # package manager verification process, and which will be treated
  427. # as a non-packaged file. As such, the file properties are still checked.
  428. #
  429. # This option only takes effect if the PKGMGR option has been set, and
  430. # is not 'NONE'.
  431. #
  432. # This option may be specified more than once.
  433. #
  434. # NOTE: Whenever this option is changed 'rkhunter --propupd' must be run.
  435. #
  436. # The default value is the null string.
  437. #
  438. #PKGMGR_NO_VRFY=""
  439. #
  440. # If the 'SOLARIS' package manager is used, then it is possible to use the
  441. # checksum (hash) value stored for a file. However, this is only a 16-bit
  442. # checksum, and as such is not nearly as secure as, for example, a SHA-2 value.
  443. # If the option is set to '0', then the checksum is not used and the hash
  444. # function given by HASH_CMD is used instead. To enable this option, set its
  445. # value to '1'. The Solaris 'sum' command must be present on the system if this
  446. # option is used.
  447. #
  448. # The default value is '0'.
  449. #
  450. #USE_SUNSUM=0
  451. #
  452. # This option can be used to tell rkhunter to ignore any prelink dependency
  453. # errors for the given commands. However, a warning will also be issued if the
  454. # error does not occur for a given command. As such this option must only be
  455. # used on commands which experience a persistent problem.
  456. #
  457. # Short-term prelink dependency errors can usually be resolved simply by
  458. # running the 'prelink' command on the given pathname.
  459. #
  460. # This is a space-separated list of command pathnames. The option can be
  461. # specified more than once.
  462. #
  463. # NOTE: Whenever this option is changed 'rkhunter --propupd' must be run.
  464. #
  465. # The default value is the null string.
  466. #
  467. #IGNORE_PRELINK_DEP_ERR=/bin/ps /usr/bin/top
  468. #
  469. # These options specify a command, directory or file pathname which will be
  470. # included or excluded in the file properties checks.
  471. #
  472. # For the USER_FILEPROP_FILES_DIRS option, simple command names - for example,
  473. # 'top' - and directory names are added to the internal list of directories to
  474. # be searched for each of the command names in the command list. Additionally,
  475. # full pathnames to files, which need not be commands, may be given. Any files
  476. # or directories which are already part of the internal lists will be silently
  477. # ignored from the configuration.
  478. #
  479. # For the USER_FILEPROP_FILES_DIRS option, wildcards are allowed, except for
  480. # simple command names.
  481. # For example, 'top*' cannot be given, but '/usr/bin/top*' is allowed.
  482. #
  483. # Specific files may be excluded by using the EXCLUDE_USER_FILEPROP_FILES_DIRS
  484. # option. Wildcards may be used with this option.
  485. #
  486. # By combining these two options, and using wildcards, whole directories can be
  487. # excluded. For example:
  488. #
  489. # USER_FILEPROP_FILES_DIRS=/etc/*
  490. # USER_FILEPROP_FILES_DIRS=/etc/*/*
  491. # EXCLUDE_USER_FILEPROP_FILES_DIRS=/etc/rc?.d/*
  492. #
  493. # This will look for files in the first two directory levels of '/etc'. However,
  494. # anything in '/etc/rc0.d', '/etc/rc1.d', '/etc/rc2.d' and so on, will be
  495. # excluded.
  496. #
  497. # NOTE: Only files and directories which have been added by the user, and are
  498. # not part of the internal lists, can be excluded. So, for example, it is not
  499. # possible to exclude the 'ps' command by using '/bin/ps'. These will be
  500. # silently ignored from the configuration.
  501. #
  502. # Both options can be specified more than once.
  503. #
  504. # NOTE: Whenever these options are changed 'rkhunter --propupd' must be run.
  505. #
  506. # The default value for both options is the null string.
  507. #
  508. #USER_FILEPROP_FILES_DIRS=top
  509. #USER_FILEPROP_FILES_DIRS=/usr/local/sbin
  510. #USER_FILEPROP_FILES_DIRS=/etc/rkhunter.conf
  511. #USER_FILEPROP_FILES_DIRS=/etc/rkhunter.conf.local
  512. #USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/*
  513. #USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/i18n/*
  514. #EXCLUDE_USER_FILEPROP_FILES_DIRS=/opt/ps*
  515. #EXCLUDE_USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/mirrors.dat
  516. #EXCLUDE_USER_FILEPROP_FILES_DIRS=/var/lib/rkhunter/db/rkhunter*
  517. #
  518. # This option whitelists files and directories from existing, or not existing,
  519. # on the system at the time of testing. This option is used when the
  520. # configuration file options themselves are checked, and during the file
  521. # properties check, the hidden files and directories checks, and the filesystem
  522. # check of the '/dev' directory.
  523. #
  524. # This option may be specified more than once, and may use wildcards.
  525. # Be aware though that this is probably not what you want to do as the
  526. # wildcarding will be expanded after files have been deleted. As such
  527. # deleted files won't be whitelisted if wildcarded.
  528. #
  529. # NOTE: The user must take into consideration how often the file will appear
  530. # and disappear from the system in relation to how often rkhunter is run. If
  531. # the file appears, and disappears, too often then rkhunter may not notice
  532. # this. All it will see is that the file has changed. The inode-number and DTM
  533. # will certainly be different for each new file, and rkhunter will report this.
  534. #
  535. # The default value is the null string.
  536. #
  537. #EXISTWHITELIST=""
  538. #
  539. # Whitelist various attributes of the specified file. The attributes are those
  540. # of the 'attributes' test. Specifying a file name here does not include it
  541. # being whitelisted for the write permission test (see below).
  542. #
  543. # This option may be specified more than once, and may use wildcard characters.
  544. #
  545. # The default value is the null string.
  546. #
  547. #ATTRWHITELIST=/usr/bin/date
  548. #
  549. # Allow the specified file to have the 'others' (world) permission have the
  550. # write-bit set. For example, files with permissions r-xr-xrwx or rwxrwxrwx.
  551. #
  552. # This option may be specified more than once, and may use wildcard characters.
  553. #
  554. # The default value is the null string.
  555. #
  556. #WRITEWHITELIST=/usr/bin/date
  557. #
  558. # Allow the specified file to be a script.
  559. #
  560. # This option may be specified more than once, and may use wildcard characters.
  561. #
  562. # The default value is the null string.
  563. #
  564. SCRIPTWHITELIST=/bin/egrep
  565. SCRIPTWHITELIST=/bin/fgrep
  566. SCRIPTWHITELIST=/bin/which
  567. SCRIPTWHITELIST=/usr/bin/groups
  568. SCRIPTWHITELIST=/usr/bin/ldd
  569. #SCRIPTWHITELIST=/usr/bin/lwp-request
  570. SCRIPTWHITELIST=/usr/sbin/adduser
  571. #SCRIPTWHITELIST=/usr/sbin/prelink
  572. #SCRIPTWHITELIST=/usr/bin/unhide.rb
  573. #
  574. # Allow the specified file to have the immutable attribute set.
  575. #
  576. # This option may be specified more than once, and may use wildcard characters.
  577. #
  578. # The default value is the null string.
  579. #
  580. #IMMUTWHITELIST=/sbin/ifdown
  581. #
  582. # If this option is set to '1', then the immutable-bit test is reversed. That
  583. # is, the files are expected to have the bit set. A value of '0' means that the
  584. # immutable-bit should not be set.
  585. #
  586. # The default value is '0'.
  587. #
  588. #IMMUTABLE_SET=0
  589. #
  590. # Allow the specified hidden directory to be whitelisted.
  591. #
  592. # This option may be specified more than once, and may use wildcard characters.
  593. #
  594. # The default value is the null string.
  595. #
  596. ALLOWHIDDENDIR=/etc/.java
  597. ALLOWHIDDENDIR=/etc/.git
  598. #
  599. # Allow the specified hidden file to be whitelisted.
  600. #
  601. # This option may be specified more than once, and may use wildcard characters.
  602. #
  603. # The default value is the null string.
  604. #
  605. #ALLOWHIDDENFILE=/usr/share/man/man1/..1.gz
  606. #ALLOWHIDDENFILE=/usr/bin/.fipscheck.hmac
  607. #ALLOWHIDDENFILE=/usr/bin/.ssh.hmac
  608. #ALLOWHIDDENFILE=/usr/lib/.libfipscheck.so.1.1.0.hmac
  609. #ALLOWHIDDENFILE=/usr/lib/hmaccalc/sha1hmac.hmac
  610. #ALLOWHIDDENFILE=/usr/lib/hmaccalc/sha256hmac.hmac
  611. #ALLOWHIDDENFILE=/usr/sbin/.sshd.hmac
  612. #ALLOWHIDDENFILE=/usr/share/man/man5/.k5login.5.gz
  613. ALLOWHIDDENFILE=/etc/.gitignore
  614. #ALLOWHIDDENFILE=/etc/.bzrignore
  615. ALLOWHIDDENFILE=/etc/.etckeeper
  616. #
  617. # Allow the specified process to use deleted files. The process name may be
  618. # followed by a colon-separated list of full pathnames. The process will then
  619. # only be whitelisted if it is using one of the given files. For example:
  620. #
  621. # ALLOWPROCDELFILE=/usr/libexec/gconfd-2:/tmp/abc:/var/tmp/xyz
  622. #
  623. # This option may be specified more than once. It may also use wildcards, but
  624. # only in the file names.
  625. #
  626. # The default value is the null string.
  627. #
  628. #ALLOWPROCDELFILE=/sbin/cardmgr
  629. #ALLOWPROCDELFILE=/usr/lib/libgconf2-4/gconfd-2
  630. #ALLOWPROCDELFILE=/usr/sbin/mysqld:/tmp/ib*
  631. #ALLOWPROCDELFILE=/usr/lib/iceweasel/firefox-bin
  632. #ALLOWPROCDELFILE=/usr/bin/file-roller
  633. #
  634. # Allow the specified process to listen on any network interface.
  635. #
  636. # This option may be specified more than once, and may use wildcard characters.
  637. #
  638. # The default value is the null string.
  639. #
  640. #ALLOWPROCLISTEN=/sbin/dhclient
  641. #ALLOWPROCLISTEN=/usr/bin/dhcpcd
  642. #ALLOWPROCLISTEN=/usr/sbin/tcpdump
  643. #ALLOWPROCLISTEN=/usr/sbin/snort-plain
  644. #
  645. # Allow the specified network interfaces to be in promiscuous mode.
  646. #
  647. # This is a space-separated list of interface names. The option may be
  648. # specified more than once.
  649. #
  650. # The default value is the null string.
  651. #
  652. #ALLOWPROMISCIF=eth0
  653. #
  654. # This option specifies how rkhunter should scan the '/dev' directory for
  655. # suspicious files. The only allowed values are 'THOROUGH' and 'LAZY'.
  656. #
  657. # A THOROUGH scan will increase the overall runtime of rkhunter. Despite this,
  658. # it is highly recommended that this value is used.
  659. #
  660. # The default value is 'THOROUGH'.
  661. #
  662. # Also see the ALLOWDEVFILE option.
  663. #
  664. #SCAN_MODE_DEV=THOROUGH
  665. #
  666. # Allow the specified file to be present in the '/dev' directory, and not
  667. # regarded as suspicious.
  668. #
  669. # This option may be specified more than once, and may use wildcard characters.
  670. #
  671. # The default value is the null string.
  672. #
  673. #ALLOWDEVFILE=/dev/shm/pulse-shm-*
  674. #ALLOWDEVFILE=/dev/shm/sem.ADBE_
  675. ALLOWDEVFILE=/dev/shm/PostgreSQL.*
  676. #
  677. # This option is used to indicate if the Phalanx2 test is to perform a basic
  678. # check, or a more thorough check. If the option is set to '0', then a basic
  679. # check is performed. If it is set to '1', then all the directories in the
  680. # '/etc' and '/usr' directories are scanned.
  681. #
  682. # NOTE: Setting this option to '1' will cause the test to take longer
  683. # to complete.
  684. #
  685. # The default value is '0'.
  686. #
  687. #PHALANX2_DIRTEST=0
  688. #
  689. # This option tells rkhunter where the inetd configuration file is located.
  690. #
  691. # The default value is the null string.
  692. #
  693. #INETD_CONF_PATH=/etc/inetd.conf
  694. #
  695. # This option allows the specified enabled inetd services.
  696. #
  697. # This is a space-separated list of service names. The option may be specified
  698. # more than once.
  699. #
  700. # For non-Solaris users the simple service name should be used.
  701. # For example:
  702. #
  703. # INETD_ALLOWED_SVC=echo
  704. #
  705. # For Solaris 9 users the simple service name should also be used, but
  706. # if it is an RPC service, then the executable pathname should be used.
  707. # For example:
  708. #
  709. # INETD_ALLOWED_SVC=imaps
  710. # INETD_ALLOWED_SVC=/usr/sbin/rpc.metad /usr/sbin/rpc.metamhd
  711. #
  712. # For Solaris 10 users the service/FMRI name should be used. For example:
  713. #
  714. # INETD_ALLOWED_SVC=/network/rpc/meta
  715. # INETD_ALLOWED_SVC=/network/rpc/metamed
  716. # INETD_ALLOWED_SVC=/application/font/stfsloader
  717. # INETD_ALLOWED_SVC=/network/rpc-100235_1/rpc_ticotsord
  718. #
  719. # The default value is the null string.
  720. #
  721. #INETD_ALLOWED_SVC=echo
  722. #
  723. # This option tells rkhunter where the xinetd configuration file is located.
  724. #
  725. # The default value is the null string.
  726. #
  727. #XINETD_CONF_PATH=/etc/xinetd.conf
  728. #
  729. # This option allows the specified enabled xinetd services. Whilst it would be
  730. # nice to use the service names themselves, at the time of testing we only have
  731. # the pathname available. As such, these entries are the xinetd file pathnames.
  732. #
  733. # This is a space-separated list of service names. The option may be specified
  734. # more than once.
  735. #
  736. # The default value is the null string.
  737. #
  738. #XINETD_ALLOWED_SVC=/etc/xinetd.d/echo
  739. #
  740. # This option tells rkhunter the local system startup file pathnames. The
  741. # directories will be searched for files. By default rkhunter will try and
  742. # determine were the startup files are located. If the option is set to 'NONE',
  743. # then certain tests will be skipped.
  744. #
  745. # This is a space-separated list of file and directory pathnames. The option
  746. # may be specified more than once, and may use wildcard characters.
  747. #
  748. # This option has no default value.
  749. #
  750. #STARTUP_PATHS=/etc/init.d /etc/rc.local
  751. #
  752. # This option tells rkhunter the pathname to the file containing the user
  753. # account passwords. This setting will be worked out by rkhunter, and so
  754. # should not usually need to be set. Users of TCB shadow files should not
  755. # set this option.
  756. #
  757. # This option has no default value.
  758. #
  759. #PASSWORD_FILE=/etc/shadow
  760. #
  761. # This option allows the specified accounts to be root equivalent. These
  762. # accounts will have a UID value of zero. The 'root' account does not need
  763. # to be listed as it is automatically whitelisted.
  764. #
  765. # This is a space-separated list of account names. The option may be specified
  766. # more than once.
  767. #
  768. # NOTE: For *BSD systems you will probably need to use this option for the
  769. # 'toor' account.
  770. #
  771. # The default value is the null string.
  772. #
  773. #UID0_ACCOUNTS=toor rooty sashroot
  774. #
  775. # This option allows the specified accounts to have no password. NIS/YP entries
  776. # do not need to be listed as they are automatically whitelisted.
  777. #
  778. # This is a space-separated list of account names. The option may be specified
  779. # more than once.
  780. #
  781. # The default value is the null string.
  782. #
  783. #PWDLESS_ACCOUNTS=abc
  784. #
  785. # This option tells rkhunter the pathname to the syslog configuration file.
  786. # This setting will be worked out by rkhunter, and so should not usually need
  787. # to be set. A value of 'NONE' can be used to indicate that there is no
  788. # configuration file, but that the syslog daemon process may be running.
  789. #
  790. # This is a space-separated list of pathnames. The option may be specified
  791. # more than once.
  792. #
  793. # This option has no default value.
  794. #
  795. #SYSLOG_CONFIG_FILE=/etc/syslog.conf
  796. #
  797. # If this option is set to '1', then the use of syslog remote logging is
  798. # permitted. A value of '0' disallows the use of remote logging.
  799. #
  800. # The default value is '0'.
  801. #
  802. #ALLOW_SYSLOG_REMOTE_LOGGING=0
  803. #
  804. # This option allows the specified applications, or a specific version of an
  805. # application, to be whitelisted. If a specific version is to be whitelisted,
  806. # then the name must be followed by a colon and then the version number.
  807. # For example:
  808. #
  809. # APP_WHITELIST=openssl:0.9.7d gpg httpd:1.3.29
  810. #
  811. # This is a space-separated list of pathnames. The option may be specified
  812. # more than once.
  813. #
  814. # The default value is the null string.
  815. #
  816. #APP_WHITELIST=""
  817. #
  818. # Set this option to scan for suspicious files in directories which pose a
  819. # relatively higher risk due to user write access.
  820. #
  821. # Please do not enable the 'suspscan' test by default as it is CPU and I/O
  822. # intensive, and prone to producing false positives. Do review all settings
  823. # before usage. Also be aware that running 'suspscan' in combination with
  824. # verbose logging on, rkhunter's default, will show all ignored files.
  825. #
  826. # Please consider adding all directories the user the (web)server runs as,
  827. # and has write access to, including the document root (e.g: '/var/www') and
  828. # log directories (e.g: '/var/log/httpd').
  829. #
  830. # This is a space-separated list of directory pathnames. The option may be
  831. # specified more than once.
  832. #
  833. # The default value is the '/tmp' and '/var/tmp' directories.
  834. #
  835. #SUSPSCAN_DIRS=/tmp /var/tmp
  836. #
  837. # This option specifies the directory for temporary files used by the
  838. # 'suspscan' test. A memory-based directory, such as a tempfs filesystem, is
  839. # better (faster). Do not use a directory name that is listed in SUSPSCAN_DIRS
  840. # as that is highly likely to cause false-positive results.
  841. #
  842. # The default value is '/dev/shm'.
  843. #
  844. #SUSPSCAN_TEMP=/dev/shm
  845. #
  846. # This option specifies the 'suspscan' test maximum filesize in bytes. Files
  847. # larger than this will not be inspected. Do make sure you have enough space
  848. # available in your temporary files directory.
  849. #
  850. # The default value is '1024000'.
  851. #
  852. #SUSPSCAN_MAXSIZE=10240000
  853. #
  854. # This option specifies the 'suspscan' test score threshold. Below this value
  855. # no hits will be reported.
  856. #
  857. # The default value is '200'.
  858. #
  859. #SUSPSCAN_THRESH=200
  860. #
  861. # The following options can be used to whitelist network ports which are known
  862. # to have been used by malware.
  863. #
  864. # The PORT_WHITELIST option is a space-separated list of one or more of two
  865. # types of whitelisting. These are:
  866. #
  867. # 1) a 'protocol:port' pair
  868. # 2) an asterisk ('*')
  869. #
  870. # Only the UDP or TCP protocol may be specified, and the port number must be
  871. # between 1 and 65535 inclusive.
  872. #
  873. # The asterisk can be used to indicate that any executable which rkhunter can
  874. # locate as a command, is whitelisted. (Also see BINDIR)
  875. #
  876. # The PORT_PATH_WHITELIST option specifies one of two types of whitelisting.
  877. # These are:
  878. #
  879. # 1) a pathname to an executable
  880. # 2) a combined pathname, protocol and port
  881. #
  882. # As above, the protocol can only be TCP or UDP, and the port number must be
  883. # between 1 and 65535 inclusive.
  884. #
  885. # Examples:
  886. #
  887. # PORT_WHITELIST=TCP:2001 UDP:32011
  888. # PORT_PATH_WHITELIST=/usr/sbin/squid
  889. # PORT_PATH_WHITELIST=/usr/sbin/squid:TCP:3801
  890. #
  891. # NOTE: In order to whitelist a pathname, or use the asterisk option, the
  892. # 'lsof' command must be present.
  893. #
  894. # Both options may be specified more than once.
  895. #
  896. # The default value for both options is the null string.
  897. #
  898. #PORT_WHITELIST=""
  899. #PORT_PATH_WHITELIST=""
  900. #
  901. # The following option can be used to tell rkhunter where the operating system
  902. # 'release' file is located. This file contains information specifying the
  903. # current O/S version. RKH will store this information, and check to see if it
  904. # has changed between each run. If it has changed, then the user is warned that
  905. # RKH may issue warning messages until RKH has been run with the '--propupd'
  906. # option.
  907. #
  908. # Since the contents of the file vary according to the O/S distribution, RKH
  909. # will perform different actions when it detects the file itself. As such, this
  910. # option should not be set unless necessary. If this option is specified, then
  911. # RKH will assume the O/S release information is on the first non-blank line of
  912. # the file.
  913. #
  914. # This option has no default value.
  915. #
  916. # Also see the WARN_ON_OS_CHANGE and UPDT_ON_OS_CHANGE options.
  917. #
  918. #OS_VERSION_FILE=/etc/debian_version
  919. #
  920. # Set the following option to '0' if you do not want to receive a warning if any
  921. # O/S information has changed since the last run of 'rkhunter --propupd'. The
  922. # warnings occur during the file properties check. Setting a value of '1' will
  923. # cause rkhunter to issue a warning if something has changed.
  924. #
  925. # The default value is '1'.
  926. #
  927. #WARN_ON_OS_CHANGE=1
  928. #
  929. # Set the following option to '1' if you want rkhunter to automatically run a
  930. # file properties update ('--propupd') if the O/S has changed. Detection of an
  931. # O/S change occurs during the file properties check. Setting a value of '0'
  932. # will cause rkhunter not to do an automatic update.
  933. #
  934. # WARNING: Only set this option if you are sure that the update will work
  935. # correctly. That is, that the database directory is writeable, that a valid
  936. # hash function is available, and so on. This can usually be checked simply by
  937. # running 'rkhunter --propupd' at least once.
  938. #
  939. # The default value is '0'.
  940. #
  941. #UPDT_ON_OS_CHANGE=0
  942. #
  943. # The following two options can be used to whitelist files and directories that
  944. # would normally be flagged with a warning during the various rootkit and
  945. # malware checks. Only existing files and directories can be specified, and
  946. # these must be full pathnames not links.
  947. #
  948. # Additionally, the RTKT_FILE_WHITELIST option may include a string after the
  949. # file name (separated by a colon). This will then only whitelist that string
  950. # in that file (as part of the malware checks). For example:
  951. #
  952. # RTKT_FILE_WHITELIST=/etc/rc.local:hdparm
  953. #
  954. # If the option list includes the filename on its own as well, then the file
  955. # will be whitelisted from rootkit checks of the files existence, but still
  956. # only the specific string within the file will be whitelisted. For example:
  957. #
  958. # RTKT_FILE_WHITELIST=/etc/rc.local
  959. # RTKT_FILE_WHITELIST=/etc/rc.local:hdparm
  960. #
  961. # To whitelist a file from the existence checks, but not from the strings
  962. # checks, then include the filename on its own and on its own but with just
  963. # a colon appended. For example:
  964. #
  965. # RTKT_FILE_WHITELIST=/etc/rc.local
  966. # RTKT_FILE_WHITELIST=/etc/rc.local:
  967. #
  968. # NOTE: It is recommended that if you whitelist any files, then you include
  969. # those files in the file properties check. See the USER_FILEPROP_FILES_DIRS
  970. # configuration option.
  971. #
  972. # Both of these options may be specified more than once.
  973. #
  974. # For both options the default value is the null string.
  975. #
  976. #RTKT_DIR_WHITELIST=""
  977. #RTKT_FILE_WHITELIST=""
  978. #
  979. # The following option can be used to whitelist shared library files that would
  980. # normally be flagged with a warning during the preloaded shared library check.
  981. # These library pathnames usually exist in the '/etc/ld.so.preload' file or in
  982. # the LD_PRELOAD environment variable.
  983. #
  984. # NOTE: It is recommended that if you whitelist any files, then you include
  985. # those files in the file properties check. See the USER_FILEPROP_FILES_DIRS
  986. # configuration option.
  987. #
  988. # This option is a space-separated list of library pathnames. The option may be
  989. # specified more than once.
  990. #
  991. # The default value is the null string.
  992. #
  993. #SHARED_LIB_WHITELIST=/lib/snoopy.so
  994. #
  995. # To force rkhunter to use the supplied script for the 'stat' or 'readlink'
  996. # command the following two options can be used. The value must be set to
  997. # 'BUILTIN'.
  998. #
  999. # NOTE: IRIX users will probably need to enable STAT_CMD.
  1000. #
  1001. # For both options the default value is the null string.
  1002. #
  1003. #STAT_CMD=BUILTIN
  1004. #READLINK_CMD=BUILTIN
  1005. #
  1006. # In the file properties test any modification date/time is displayed as the
  1007. # number of epoch seconds. Rkhunter will try and use the 'date' command, or
  1008. # failing that the 'perl' command, to display the date and time in a
  1009. # human-readable format as well. This option may be used if some other command
  1010. # should be used instead. The given command must understand the '%s' and
  1011. # 'seconds ago' options found in the GNU 'date' command.
  1012. #
  1013. # A value of 'NONE' may be used to request that only the epoch seconds be shown.
  1014. # A value of 'PERL' may be used to force rkhunter to use the 'perl' command, if
  1015. # it is present.
  1016. #
  1017. # This option has no default value.
  1018. #
  1019. #EPOCH_DATE_CMD=""
  1020. #
  1021. # This setting tells rkhunter the directory containing the available Linux
  1022. # kernel modules. This setting will be worked out by rkhunter, and so should
  1023. # not usually need to be set.
  1024. #
  1025. # This option has no default value.
  1026. #
  1027. #MODULES_DIR=""
  1028. #
  1029. # The following option can be set to a command which rkhunter will use when
  1030. # downloading files from the Internet - that is, when the '--update' or
  1031. # '--versioncheck' option is used. The command can take options.
  1032. #
  1033. # This allows the user to use a command other than the one automatically
  1034. # selected by rkhunter, but still one which it already knows about.
  1035. # For example:
  1036. #
  1037. # WEB_CMD=curl
  1038. #
  1039. # Alternatively, the user may specify a completely new command. However, note
  1040. # that rkhunter expects the downloaded file to be written to stdout, and that
  1041. # everything written to stderr is ignored. For example:
  1042. #
  1043. # WEB_CMD="/opt/bin/dlfile --timeout 5m -q"
  1044. #
  1045. # *BSD users may want to use the 'ftp' command, provided that it supports the
  1046. # HTTP protocol:
  1047. #
  1048. # WEB_CMD="ftp -o -"
  1049. #
  1050. # This option has no default value.
  1051. #
  1052. #WEB_CMD=""
  1053. #
  1054. # Set the following option to '1' if locking is to be used when rkhunter runs.
  1055. # The lock is set just before logging starts, and is removed when the program
  1056. # ends. It is used to prevent items such as the log file, and the file
  1057. # properties file, from becoming corrupted if rkhunter is running more than
  1058. # once. The mechanism used is to simply create a lock file in the TMPDIR
  1059. # directory. If the lock file already exists, because rkhunter is already
  1060. # running, then the current process simply loops around sleeping for 10 seconds
  1061. # and then retrying the lock. A value of '0' means not to use locking.
  1062. #
  1063. # The default value is '0'.
  1064. #
  1065. # Also see the LOCK_TIMEOUT and SHOW_LOCK_MSGS options.
  1066. #
  1067. #USE_LOCKING=0
  1068. #
  1069. # If locking is used, then rkhunter may have to wait to get the lock file.
  1070. # This option sets the total amount of time, in seconds, that rkhunter should
  1071. # wait. It will retry the lock every 10 seconds, until either it obtains the
  1072. # lock or the timeout value has been reached.
  1073. #
  1074. # The default value is 300 seconds (5 minutes).
  1075. #
  1076. #LOCK_TIMEOUT=300
  1077. #
  1078. # If locking is used, then rkhunter may be doing nothing for some time if it
  1079. # has to wait for the lock. If this option is set to '1', then some simple
  1080. # messages are echoed to the users screen to let them know that rkhunter is
  1081. # waiting for the lock. Set this option to '0' if the messages are not to be
  1082. # displayed.
  1083. #
  1084. # The default value is '1'.
  1085. #
  1086. #SHOW_LOCK_MSGS=1
  1087. #
  1088. # If this option is set to 'THOROUGH' then rkhunter will search (on a per
  1089. # rootkit basis) for filenames in all of the directories (as defined by the
  1090. # result of running 'find / -xdev'). While still not optimal, as it still
  1091. # searches for only file names as opposed to file contents, this is one step
  1092. # away from the rigidity of searching in known (evidence) or default
  1093. # (installation) locations.
  1094. #
  1095. # THIS OPTION SHOULD NOT BE ENABLED BY DEFAULT.
  1096. #
  1097. # You should only activate this feature as part of a more thorough
  1098. # investigation, which should be based on relevant best practices and
  1099. # procedures.
  1100. #
  1101. # Enabling this feature implies you have the knowledge to interpret the
  1102. # results properly.
  1103. #
  1104. # The default value is the null string.
  1105. #
  1106. #SCANROOTKITMODE=THOROUGH
  1107. #
  1108. # The following option can be set to the name(s) of the tests the 'unhide'
  1109. # command is to use. Options such as '-m' and '-v' may be specified, but will
  1110. # only take effect when they are seen. The test names are a space-separated
  1111. # list, and will be executed in the order given.
  1112. #
  1113. # This option may be specified more than once.
  1114. #
  1115. # The default value is 'sys' in order to maintain compatibility with older
  1116. # versions of 'unhide'.
  1117. #
  1118. #UNHIDE_TESTS=sys
  1119. #
  1120. # The following option can be used to set options for the 'unhide-tcp' command.
  1121. # The options are space-separated.
  1122. #
  1123. # This option may be specified more than once.
  1124. #
  1125. # The default value is the null string.
  1126. #
  1127. #UNHIDETCP_OPTS=""
  1128. #
  1129. # If both the C 'unhide', and Ruby 'unhide.rb', programs exist on the system,
  1130. # then it is possible to disable the execution of one of the programs if
  1131. # desired. By default rkhunter will look for both programs, and execute each
  1132. # of them as they are found. If the value of this option is '0', then both
  1133. # programs will be executed if they are present. A value of '1' will disable
  1134. # execution of the C 'unhide' program, and a value of '2' will disable the Ruby
  1135. # 'unhide.rb' program. To disable both programs, then disable the
  1136. # 'hidden_procs' test.
  1137. #
  1138. # The default value is '0'.
  1139. #
  1140. #DISABLE_UNHIDE=0
  1141. INSTALLDIR=/usr
  1142. #
  1143. # This option can be set to either '0' or '1'. If set to '1' then the summary,
  1144. # shown after rkhunter has run, will display the actual number of warnings
  1145. # found. If it is set to '0', then the summary will simply indicate that
  1146. # 'One or more' warnings were found. If no warnings were found, and this option
  1147. # is set to '1', then a "0" will be shown. If the option is set to '0', then
  1148. # the words 'No warnings' will be shown.
  1149. #
  1150. # The default value is '0'.
  1151. #
  1152. #SHOW_SUMMARY_WARNINGS_NUMBER=0
  1153. #
  1154. # This option is used to determine where, if anywhere, the summary scan time is
  1155. # displayed. A value of '0' indicates that it should not be displayed anywhere.
  1156. # A value of '1' indicates that the time should only appear on the screen, and a
  1157. # value of '2' that it should only appear in the log file. A value of '3'
  1158. # indicates that the time taken should appear both on the screen and in the log
  1159. # file.
  1160. #
  1161. # The default value is '3'.
  1162. #
  1163. #SHOW_SUMMARY_TIME=3
  1164. #
  1165. # The two options below may be used to check if a file is missing or empty
  1166. # (that is, it has a size of zero). The EMPTY_LOGFILES option will also check
  1167. # if the file is missing, since that can be interpreted as a file of no size.
  1168. # However, the file will only be reported as missing if the MISSING_LOGFILES
  1169. # option hasn't already done this.
  1170. #
  1171. # Both options are space-separated lists of pathnames, and may be specified
  1172. # more than once.
  1173. #
  1174. # NOTE: Log files are usually 'rotated' by some mechanism. At that time it is
  1175. # perfectly possible for the file to be either missing or empty. As such these
  1176. # options may produce false-positive warnings when log files are rotated.
  1177. #
  1178. # For both options the default value is the null string.
  1179. #
  1180. #EMPTY_LOGFILES=""
  1181. #MISSING_LOGFILES=""