POSTIN
/bin/sh
if [ $1 = 1 ]; then
# create rkhunter.dat
/usr/sbin/rkhunter --propupd
# gather user / group info
/usr/sbin/rkhunter --enable group_changes,passwd_changes
# Suppress warning on fresh install because of missing copies of passwd
# and groups file above
/bin/true
fi
#unfortunately, multiple ALLOW* and SCRIPT* keys forbids use of ccp
#until it supports the feature...
##fix previous broken < 1.2.8 installs.
#ccp --delete --ifexists --set NoOrphans \
# --ignoreopt TMPDIR --ignoreopt DBDIR \
# --oldfile /etc/rkhunter.conf \
# --newfile /etc/rkhunter.conf.rpmnew