How to upgrade bash for redhat5 to prevent bash vulnerabilities?
How to upgrade bash for redhat5 to prevent bash vulnerabilities, see http://down.51cto.com/data/194201
1, to centos official website to download yum-3.2.22-40.el5.centos.noarch.rpm, yum-metadata-parser-1.1.2-4.el5.i386.rpm, python-iniparse-0.2.3.6-el5.noarch.rpm, yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm, four files, it is recommended to centos.ustc.edu.cn image to find
2. uninstall the yum, rpm-aq | grep yum | xargs rpm-e -- nodeps that comes with redhat.
3. run the following command to install yum
Rpm-ivh python-iniparse-0.2.3-6.el5.noarch.rpm
Rpm-ivh yum-metadata-parser-1.1.2-4.el5.i386.rpm
Rpm-ivh yum-3.2.22-40.el5.centos.noarch, rpm yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm.
4, vi/etc/yum. repos. d/CentOS-Base.repo
[Base]
CentOS-5-Base
Base url = http://mirrors.ustc.edu.cn/centos/5/ OS /i386/
Gpgcheck = 0
Enabled = 1
[Updates]
Name = CentOS-5-Update
Base url = http://mirrors.ustc.edu.cn/centos/5/updates/i386/
Gpgcheck = 0
Enabled = 1
5. test yum list
6. yum update bash-y