Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2011 21:40:10 GMT
From:      Sofian Brabez <sbrabez@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/153024: security/rkhunter should not overwrite /usr/local/etc/rkhunter.conf
Message-ID:  <201101112140.p0BLeAv5029816@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/153024; it has been noted by GNATS.

From: Sofian Brabez <sbrabez@gmail.com>
To: bug-followup@FreeBSD.org, Trond.Endrestol@ximalas.info
Cc:  
Subject: Re: ports/153024: security/rkhunter should not overwrite /usr/local/etc/rkhunter.conf
Date: Tue, 11 Jan 2011 22:30:26 +0100

 Hi Trond,
 
 Normally security/rkhunter during an update renamed your old
 configuration with the following scheme :
 ${RKHINST_ETC_DIR}rkhunter.conf`date +%Y%m%d%H%M%S`, so your old
 configuration is never delete or overwrite.
 
 By default RKHINST_ETC_DIR is set to /usr/local/etc/ folder.
 
 You just have to renamed it to keep your old configuration, it's done
 like that because rkhunter handle internally the update. If you want
 to know more about this, you could check the source code into
 installer.sh file
 
 For example, below I've updated it and I got two files, my old created
 the 27 November 2010 and my new of 11 January 2011:
 
 (root@freebsd81:/tmp/) # stat /usr/local/etc/rkhunter.conf.20101127023538
 73 391826 -rw-r----- 1 root wheel 1599104 37308 "Jan 11 23:11:10 2011"
 "Nov 27 02:35:38 2010" "Nov 27 02:35:38 2010" "Nov 27 02:35:38 2010"
 16384 76 0 /usr/local/etc/rkhunter.conf.20101127023538
 (root@freebsd81:/tmp/rkhunter) # ls -l /usr/local/etc/rkhunter*
 -rw-r-----  1 root  wheel  37308 Jan 11 23:10 /usr/local/etc/rkhunter.conf
 -rw-r-----  1 root  wheel  37308 Nov 27 02:35
 /usr/local/etc/rkhunter.conf.20101127023538
 
 Sorry for my late answer.
 
 Regards
 
 -- 
 sbz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101112140.p0BLeAv5029816>