×

This article covers how to enable automatic updates on Ubuntu 20.04. In fact, Regularly updating your server is a crucial aspect to the overall security of your system.

Sysadmins must be concerned about the security of Linux servers. Installing security updates on time fixes vulnerabilities that could be exploited by malicious individuals to gain access to the system.


How to Enable automatic updates ?

Edit the 20auto-upgrades configuration file as follows:

$ sudo vim /etc/apt/apt.conf.d/20auto-upgrades

This file has only two lines.

The first line is responsible for updating the package lists, while the second initiates the automated upgrades. The auto-update and auto-upgrade are enabled by the value "1." Set this value to "0" if you wish to disable it.


Manually updating your Linux system is a task that's easy to overlook, especially when you’re always dealing with other issues that arise. Configuring automatic updates provides an easy way to get the security patches and feature updates regularly.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com