coolair
V2EX  ›  问与答

Debian 7.6 如何修复那个 bash 漏洞?源里面没有 bash 更新啊!

  •  
  •   coolair · Sep 26, 2014 · 4627 views
    This topic created in 4440 days ago, the information mentioned may be changed or developed.
    9 replies  •  2014-09-26 12:25:38 +08:00
    reusFork
    reusFork
    Sep 26, 2014
    1
    debian用的是dash,没影响
    764664
    764664
    Sep 26, 2014
    2
    LZ没添加 security 源吧

    @reusFork 。。。
    j
    j
    Sep 26, 2014
    3
    把这两行加到源里
    deb http://http.debian.net/debian squeeze-lts main contrib non-free
    deb-src http://http.debian.net/debian squeeze-lts main contrib non-free

    然后再
    apt-get update
    apt-get install -t squeeze-lts --only-upgrade bash
    coolair
    coolair
    OP
    Sep 26, 2014
    4
    coolair
    coolair
    OP
    Sep 26, 2014
    5
    @j 我用的是wheezy,不是squeeze。
    snachx
    snachx
    Sep 26, 2014
    6
    @coolair 我的两台vps都是debian 7,一样用的官方源,昨天已经更新了,楼主可以再试一下
    msg7086
    msg7086
    Sep 26, 2014
    7
    @reusFork 是否用dash,与是否有bash漏洞无关吧……
    reusFork
    reusFork
    Sep 26, 2014
    8
    原来换回bash了,几年不用了…
    reusFork
    reusFork
    Sep 26, 2014
    9
    不对,/bin/sh仍然指向/bin/dash,exec、system之类的系统调用用的还是dash,apache的cgi也是。这和$SHELL指向的interactive shell不是一回事
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   863 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 22:28 · PVG 06:28 · LAX 14:28 · JFK 17:28
    ♥ Do have faith in what you're doing.