25 Feb
2002
25 Feb
'02
13:33
On Monday 25 February 2002 12:53, Christoph Egger wrote:
Hi!
Where does the seccheck script store the md5 sums?
In /var/lib/rpm/*.rpm It uses rpm -Va to check the md5 values from /usr/lib/secchk/security-weekly.sh # md5 check nice -n 1 rpm -Va 2> /dev/null | grep '^..5' > "$SEC_DATA/rpm-md5.new" diff -uw "$SEC_DATA/rpm-md5" "$SEC_DATA/rpm-md5.new" | \ egrep -v '^\+\+\+ |^--- |^$|^@@' | sed 's/^[+-]/& /' > "$OUT" if [ -s "$OUT" ] ; then printf "\nThe following programs have got a different md5 checksum since last week:\n" cat "$OUT" mv "$SEC_DATA/rpm-md5.new" "$SEC_DATA/rpm-md5" regards Anders