[Bug 260054] New: Add sysconfig file for rkhunter
https://bugzilla.novell.com/show_bug.cgi?id=260054 Summary: Add sysconfig file for rkhunter Product: openSUSE 10.3 Version: Alpha 2plus Platform: i386 OS/Version: SuSE Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Other AssignedTo: lrupp@novell.com ReportedBy: lrupp@novell.com QAContact: qa@suse.de This file should add some values for the suse.de-rkhunter cronjob: # update rkhunter databases (needs internet access) # UPDATEDB="yes|no" # => if [ "$UPDATE" = "yes" ]; then /usr/bin/rkhunter --update 1>/dev/null fi # start rkhunter with nice level # default: 0 # => /usr/bin/nice -n $NICE /usr/bin/rkhunter --quiet --cronjob # report level of rkhunter # LEVEL="quiet|report-mode|report-warnings-only" # => /usr/bin/nice -n $NICE /usr/bin/rkhunter --${LEVEL} --cronjob # # rkhunter logfile # default: "" # # send report mails to # default: root # # additional options (see rkhunter --help) # default: "" OUTFILE=`mktemp /var/tmp/rkhunter-XXXXXX` || exit 1 if [ -z $LOGFILE ]; then RKLOGFILE="--createlogfile $LOGFILE" fi /usr/bin/nice -n $NICE $RKHUNTER --${LEVEL} --cronjob \ $RKLOGFILE $RK_OPT > $OUTFILE if [ $(stat -c %s $OUTFILE) -ne 0 ]; then ( echo "Subject: [rkhunter] Daily report" echo cat $OUTFILE ) | /usr/sbin/sendmail $REPORT_EMAIL fi rm -f $OUTFILE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=260054 lrupp@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=260054 ------- Comment #1 from lrupp@novell.com 2007-04-04 03:26 MST ------- First draft of /etc/sysconfig/rkhunter: ## Path: System/Security/rkhunter ## Type: yesno ## Default: no # # Update the databases of rkhunter once a day. # Needs internet access. RK_UPDATEDB=no ## Type: integer(-20:19) ## Default: 0 # # Renice the rkhunter process when running as # cronjob. # Possible values: -20 up to 19 RK_NICE=0 ## Type: string ## Default: "" # # Path to the logfile for rkhunter messages. # Default empty - means: create no logfile # You can use something like /var/log/rkhunter # Be shure that rkhunter can write to this log. RK_LOGFILE="" ## Type: string ## Default: "root" # # Send report mails to the following account. # Use a system account or a valid email-address # here. RK_REPORT_EMAIL="root" ## Type: string ## Default: "" # # Additional options (see rkhunter --help) for # rkhunter. RK_ADDITIONAL_OPTIONS="" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=260054
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=260054
Lars Rupp
https://bugzilla.novell.com/show_bug.cgi?id=260054
User lrupp@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=260054#c3
Lars Vogdt
participants (1)
-
bugzilla_noreply@novell.com