Re: bash replacement ...

Gustavo Guillermo <[email protected]> Thu, 11 Dec 2014 22:40:55 -0600
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
You've to rename the running binary instead of replacing it but in one 
single execution, so later you can delete the old one.

for example:

mv /bin/bash /bin/bash.orig; cp /usr/src/bash_source/build/bash 
/bin/bash; chmod 755 /bin/bash

try it..

Cheers.

On 11/12/14 19:56, terry white wrote:
> ... ciao:
>
>     when the bash vulnerability was announced i built the 'new' 
> patched version. in my case, two.  though, not automatic, not really 
> problematic.
> however, when i tried to replace the running 'bash', the system 
> disallowd that operation.
>
>     so, i booted a rescue system, and did the replacement that way.
>
>     is there a way i could have done that on the native system ?
>
>     thanks ...
>
>