Home Guides Glossary

Update Bash (CentOS 5 and 6)

You must update bash to protect your CentOS 5/6 server against the ShellShock vulnerability.

These instructions only apply to servers with the Hosting Control Panel interface (more info). If you have a CentOS 6 server with the Gateway interface, instead see Update bash (CentOS and Fedora).

  1. Connect to your server via SSH.
  2. Switch to the root user.
  3. Verify which version (32- or 64-bit) of CentOS you use by running the following command:
    uname -m
  4. Update bash by running one of the following commands, depending on your CentOS version:
    CentOS Version Command
    CentOS 5 32-bit
    rpm -Uvh http://mirror.centos.org/centos/5/updates/i386/RPMS/bash-3.2-33.el5_11.4.i386.rpm
    CentOS 5 64-bit
    rpm -Uvh http://mirror.centos.org/centos/5/updates/x86_64/RPMS/bash-3.2-33.el5_11.4.x86_64.rpm
    CentOS 6 32-bit
    rpm -Uvh http://mirror.centos.org/centos/6/os/i386/Packages/bash-4.1.2-29.el6.i686.rpm
    CentOS 6 64-bit
    rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/bash-4.1.2-29.el6.x86_64.rpm

Bash is now properly patched and updated on your server.

Next Step

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy