Update/Patch RHEL with specific release

Update/Patch RHEL with specific release

# yum –releasever=6.5 update

If you would like to update only the kernel
# yum –releasever=6.5 update kernel

yum updateinfo list available

========================================

Install security plugin if you are running with RHEL 6.x servers. For RHEl 7 , YUM itself have this functionality
# yum install yum-plugin-security

To list all available erratas without installing those updates, run the following command.
# yum updateinfo list available

To list all available security updates without installing those ,
# yum updateinfo list security all
# yum updateinfo list sec

To get a list of the currently installed security updates,
# yum updateinfo list security installed

To list all available security updates with verbose descriptions ,
# yum info-sec

To update all the secutrity patches from RHSM / Redhat satellite.
# yum -y update –security

To install the packages that have a security errata use,
# yum update-minimal –security -y

To install a security update using a CVE reference number, use the following command.
# yum update –cve CVE-2008-0947
* Replace “CVE-2008-0947” with require CVE

If you want to apply only one specific advisory, use the following command.
# yum update –advisory=RHSA-2014:0159
* Replace “RHSA-2014:0159” with valid RHSA.