solaris安装bash shell

sun solaris低版本存在bash漏洞,通过卸载或者升级解决问题。

1、所有的pkg安装包下载地址:
2、下载安装:
# gunzip  bash-4.3.33,REV=2015.02.15-SunOS5.10-sparc-CSW.pkg.gz
# pkgadd -d  bash-4.3.33,REV=2015.02.15-SunOS5.10-sparc-CSW.pkg

The following packages are available:
  1  CSWcas-etcshells     cas_etcshells - Class action script etcshells
                          (all) 1.49,REV=2013.08.05

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

处理软件包范例<CSWcas-etcshells>来自</opt/ultrawh/cas_etcshells-1.49,REV=2013.08.05-SunOS5.9-all-CSW.pkg>

cas_etcshells - Class action script etcshells(all) 1.49,REV=2013.08.05

当前的管理程序需要创建一个 唯一的<CSWcas-etcshells>软件包的范例.然
而,在同一个系统中一次能够被支持的最大的包的范例数目已经达到了.
-------------------------------------卸载pkg包----已经装了其他版本pkg包---------------------
# pkgrm CSWbash

=======================
如果报错:
# /opt/csw/bin/bash -version
ld.so.1: bash: fatal: libc.so.1: version `SUNW_1.22.5' not found (required by file /opt/csw/bin/bash)
ld.so.1: bash: fatal: libc.so.1: open failed: No such file or directory

解决方法:ldd /opt/csw/bin/bash处理!


--- from:gs-utrapower-zyr time:201506018--------

猜你喜欢

转载自blog.csdn.net/corpse2010/article/details/46545899