I want rkhunter check arguments like this: rkhunter --checkall --nocolors --skip-keypress --report-warnings-only , but current /usr/local/etc/periodic/security/415.rkhunter script doesn't change arguments. I want to override argumets at /etc/periodic.conf. Fix: So I want to change this script below: -- Takeshi MUTOH <mutoh@openedu.org>--dnCViEIZNc7osB2FcGJGmggcByLmVnesJ7OZphGiEOcBm1J3 Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 415.rkhunter.20100310 2010-03-10 11:04:43.000000000 +0900 +++ /usr/local/etc/periodic/security/415.rkhunter 2010-03-10 11:09:46.000000000 +0900 @@ -9,6 +9,9 @@ # # Written by: Gabor Kovesdan <gabor@FreeBSD.org> +daily_rkhunter_update_args="--update --nocolors" +daily_rkhunter_check_args="--checkall --nocolors --skip-keypress" + if [ -r /etc/defaults/periodic.conf ]; then . /etc/defaults/periodic.conf source_periodic_confs @@ -19,7 +22,7 @@ echo "" echo "Updating the rkhunter database..." - /usr/local/bin/rkhunter --update --nocolors + /usr/local/bin/rkhunter $daily_rkhunter_update_args ;; esac @@ -28,6 +31,6 @@ echo "" echo "Running rkhunter..." - /usr/local/bin/rkhunter --checkall --nocolors --skip-keypress + /usr/local/bin/rkhunter $daily_rkhunter_check_args ;; esac
Responsible Changed From-To: freebsd-ports-bugs->jadawin Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Committed with last update. Thanks.