Automatize security updates

From wiki.techunit.org
Jump to: navigation, search

Its purpose is to keep the computer current with the latest security (and other) updates automatically. If you plan to use it, you should have some means to monitor your systems, such as installing the apt-listchanges package and configuring it to send you emails about updates.

Install and configure it

aptitude -y install unattended-upgrades apt-listchanges
dpkg-reconfigure -plow unattended-upgrades
  • You can check upgrades in /var/log/apt/history.log