funkyhead
November 22nd, 2012, 12:25 PM
Problem :
Warning: Hidden file found: /dev/.initramfs: symbolic link to `/run/initramfs'
Solution :
On Unbuntu 12.04 with Rootkit Hunter 1.3.8 :
Edit : /etc/rkhunter.conf
Add : ALLOWHIDDENFILE=/dev/.initramfs
Edit : /usr/bin/rkhunter
Add before line 847 between [then] and [case "${OPT_NAME}" in] : test "${OPT_NAME}" = "ALLOWHIDDENFILE" -a -h "${FNAME}" && continue
Execute : rkhunter --propupd
Result :
No false positive on the next run.
Warning: Hidden file found: /dev/.initramfs: symbolic link to `/run/initramfs'
Solution :
On Unbuntu 12.04 with Rootkit Hunter 1.3.8 :
Edit : /etc/rkhunter.conf
Add : ALLOWHIDDENFILE=/dev/.initramfs
Edit : /usr/bin/rkhunter
Add before line 847 between [then] and [case "${OPT_NAME}" in] : test "${OPT_NAME}" = "ALLOWHIDDENFILE" -a -h "${FNAME}" && continue
Execute : rkhunter --propupd
Result :
No false positive on the next run.