Episode Details
Back to Episodes
Course 44 - RH Security Specialist | Episode 2: Mastering Yum Updates and RPM Verification
Published 1 month, 1 week ago
Description
Maintaining a secure and reliable Linux environment requires more than simply installing the latest software. Administrators must understand how security updates are identified and applied, how package authenticity is established, and how installed software can be inspected and verified at a lower level.In this episode, we explore the security-focused package management workflows used across Red Hat and CentOS environments. Starting with automated security patching through Yum, we progress into cryptographic package verification and finally examine direct package management with RPM.The goal is to build a practical understanding of how Linux administrators can keep systems patched, maintain a trusted software supply chain, and detect unexpected changes to installed packages.1. Targeted Security Patching with YumWe begin with proactive vulnerability management and security patching.Rather than updating every available package indiscriminately, Yum can be used to identify and apply updates specifically related to security advisories. This allows administrators to reduce unnecessary system changes while prioritizing vulnerabilities that require immediate attention.Key topics include:
- Installing and configuring the Yum security functionality.
- Reviewing available security advisories.
- Examining outstanding security updates before installation.
- Filtering updates according to severity, including Critical advisories.
- Applying security-only updates with options such as yum update --security.
- Understanding how targeted patching can reduce unnecessary system changes.
- The difference between public and private cryptographic keys.
- How package signatures help establish authenticity.
- Inspecting trusted public keys installed on a system.
- Querying GPG-related RPM packages with:
- Understanding Yum's gpgcheck=1 configuration.
- Why signature verification is an important defense against untrusted or modified packages.
- Package integrity checks.
- Cryptographic signatures.
- Manual package validation.
- The rpm -K verification command.
- The importance of verifying packages before introducing them into a system.