Files
the-practical-linux-hardeni…/lib/post_install_tasks/keep_system_updated.md
trimstray 8e34fad2bd updated 'Keep system updated'; TOC
- signed-off-by: trimstray <trimstray@gmail.com>
2019-02-20 10:42:54 +01:00

1.5 KiB
Raw Blame History

Post install tasks

Keep system updated

Introduction

Software updates offer plenty of benefits. Its all about revisions. These might include repairing security holes that have been discovered and fixing or removing computer bugs.

Some benefits:

  • close up problems of security that has been discovered
  • it can improve the stability of the system
  • improvements the system stacks, e.g. network stack

✴️ Make sure that the system is up to date

For CentOS:

# Check for updates
yum check-update

# Install updates
yum update

For Debian:

# Check for updates
apt-get update -qq ; apt-get upgrade -duyq

# Install updates
apt-get upgrade && apt-get dist-upgrade
Useful resources
Policies

| Policy | ID/Description | Severity | | :--- | :--- | | STIG | V-71999 | Severity: Medium | | CIS | 1.2, 1.8 | | | OpenSCAP | CCI-002605, CCI-002607 | CAT II |

☑️ Summary checklist

Item True False
Regulary update your system 🔲 🔲
Automatic check system updates 🔲 🔲