Friday, May 3, 2024
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 10364  / 2 Years ago, thu, april 14, 2022, 12:39:10

Following the recent heartbleed vulnerability of OpenSSL, I would like to keep my EC2 machines updated on a regular basis. The naive approach would be setting an hourly cron job for security updates (sudo apt-get update && sudo unattended-upgrade).



Are there any risks of doing that? Is there a recommended update mechanism for EC2 machines?


More From » unattended-upgrades

 Answers
3

The unattended-upgrades package is the standard way to automatically apply important bug fixes and security patches in Ubuntu.



I recommend installing this on every Ubuntu system:



sudo apt-get update &&
sudo apt-get install unattended-upgrades


You don't need to create your own cron job. The package installs one for you.



You can edit the default configuration if you'd like to alter its behavior:
https://help.ubuntu.com/lts/serverguide/automatic-updates.html


[#26048] Friday, April 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
odenanno

Total Points: 207
Total Questions: 113
Total Answers: 94

Location: South Korea
Member since Sat, Oct 2, 2021
3 Years ago
odenanno questions
;