Linux security updates

Unattended Upgrades can run in the background to keep your Linux machine up-to-date. Here are a few commands to become familiar with.

Update software packages and system components:

$ apt update

Update and upgrades in one command:

$ apt update && apt upgrade -y

Install, enable, and start the service:

$ apt install unattended-upgrades && systemctl enable — now unattended-upgrades

Configuration settings for the file can be located at the file path listed here. Be sure to back up the file if you are making changes. See the reference link at the bottom for more information on the various configuration settings that may suit your particular needs.

/etc/apt/apt.conf.d/50unattended-upgrades

Reference: “Enabling automatic security updates on Linux” posted by Starline,

Create a website or blog at WordPress.com

Up ↑