1

Hi I'd like to be able to auto update rkhunter when upgrades happen automatically, but I can't seem to find a way to do this. I'd not want this to happen after a manual install via apt-get though or anything, just when the auto updates occur. Any ideas?

  • Just a question: how do you have unattended upgrades set up ? – Sergiy Kolodyazhnyy Aug 18 '16 at 8:22
0

1) If you installed rkhunter via apt-get, I believe you need to enable AutomaticSecurityUpdates.

2) If you compiled & installed rkhunter from tar.gz, you need to run:

sudo rkhunter --versioncheck

However, I don't see how one can link this back to Ubuntu update process.

3) Now if by updating rkhunter you mean to update the signature database on updating Ubuntu packages as documented here:

To run rkhunter --propupd, automatic after software updates, add the line APT_AUTOGEN="yes" to /etc/default/rkhunter (this gets read by /etc/apt/apt.conf.d/90rkhunter)

  • Thanks @BogdanBiv, I hadn't seen the part about APT_AUTOGEN="yes" in the docs. – stilliard Aug 18 '16 at 11:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.