The SUSE Linux operating system hits bash patches

Source: Internet
Author: User

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                         &nbsp   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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.