1. Check the current version information:
Bash-versionecho $BASH _version 2, hit 4.3 version of the patch under the TMP directory (for insurance purposes, space at least 100M) create a new bash_upgrade.sh file, and write the following: wget http ://ftp.gnu.org/gnu/bash/bash-4.3.tar.gztar zxf bash-4.3.tar.gz; CD bash-4.3wget-r-ND-NP http://ftp.gnu.org/gnu/bash/bash-4.3-patches/for BP in ' ls bash43-*|grep-v sig '; Do patch-p0 < $BP; Done./configure make && make Install3, authorize and execute chmod +x bash_upgrade.sh./bash_upgrade.sh4, check version bash- Versionecho $BASH _version (this link may be out of version information or the old version) 5, modify the environment variable first to see the location of Bash OPENSUSE:/TMP # Bash , &NB Sp , &NB Sp , &NB Sp   bash-4.3# Whereis Bashbash:/bin/bash/etc/bash.bashrc/usr/local/bin/bash/usr/share/man/man1/ bash.1.gz Modify the/etc/passwd file to replace the root bash path with the above/usr/local/bin/bashsuch as:Root:x:0:0:root:/root:/bin/bash Change to Root:x:0:0:root:/root:/usr/local/bin/bash 6, exit re-login 7, recheck version Bash-versionecho $ Bash_version
The SUSE Linux operating system hits bash patches