Log-file default location ignored when no file is specified for '--logfile'
Rootkit Hunter v. 1.4.6 Shell: bash OS: Fedora (on Wayland) Hello. --- rkhunter(8) | man-pages -l, --logfile [file] "If no specific file is given, then the default will be used." --- I can reasonably assume that "default" implicitly refers to the LOGFILE key value that is in rkhunter.conf. Which thus matches the situation where by default rkhunter writes out a log-file. Log-file default location # grep ^LOGFILE /etc/rkhunter.conf LOGFILE=/var/log/rkhunter/rkhunter.log To reproduce $ sudo rkhunter -X --rwo --cronjob --logfile --enable immutable As a result a log-file is created; its location is /var/log/rkhunter.log. Then that is unexpectedly according to rkhunter(8) man-pages --- -l, --logfile [file] "By default rkhunter will write out a log file. The default location of the file is /var/log/rkhunter.log." --- The LOGFILE key value being ignored, does this indicate an issue?
_______________________________________________ Rkhunter-users mailing list Rkhunter-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rkhunter-users