* bash replacement ...
@ 2014-12-12 1:56 terry white
2014-12-12 4:40 ` Gustavo Guillermo
0 siblings, 1 reply; 5+ messages in thread
From: terry white @ 2014-12-12 1:56 UTC (permalink / raw)
To: linux-admin
... 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 ...
--
... it's not what you see ,
but in stead , notice ...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bash replacement ...
2014-12-12 1:56 bash replacement terry white
@ 2014-12-12 4:40 ` Gustavo Guillermo
2014-12-13 0:49 ` terry white
0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Guillermo @ 2014-12-12 4:40 UTC (permalink / raw)
To: terry white, linux-admin
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 ...
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bash replacement ...
2014-12-12 4:40 ` Gustavo Guillermo
@ 2014-12-13 0:49 ` terry white
2015-01-13 8:34 ` Marian Marinov
0 siblings, 1 reply; 5+ messages in thread
From: terry white @ 2014-12-13 0:49 UTC (permalink / raw)
To: Gustavo Guillermo; +Cc: linux-admin
... ciao:
: on "12-11-2014" "Gustavo Guillermo" writ:
: You've to rename the running binary instead of replacing
: try it..
i did, and it worked like a champ. thanks ...
--
... it's not what you see ,
but in stead , notice ...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bash replacement ...
2014-12-13 0:49 ` terry white
@ 2015-01-13 8:34 ` Marian Marinov
2015-01-13 9:41 ` terry white
0 siblings, 1 reply; 5+ messages in thread
From: Marian Marinov @ 2015-01-13 8:34 UTC (permalink / raw)
To: terry white, Gustavo Guillermo; +Cc: linux-admin
On 12/13/2014 02:49 AM, terry white wrote:
> ... ciao:
>
> : on "12-11-2014" "Gustavo Guillermo" writ:
> : You've to rename the running binary instead of replacing
> : try it..
>
> i did, and it worked like a champ. thanks ...
>
>
you can always do:
cp /bin/bash /bin/bash.old
cp -f new/bash /bin/bash
It works :)
Marian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bash replacement ...
2015-01-13 8:34 ` Marian Marinov
@ 2015-01-13 9:41 ` terry white
0 siblings, 0 replies; 5+ messages in thread
From: terry white @ 2015-01-13 9:41 UTC (permalink / raw)
To: Marian Marinov; +Cc: linux-admin
... ciao:
: on "1-13-2015" "Marian Marinov" writ:
: you can always do:
:
: cp /bin/bash /bin/bash.old
: cp -f new/bash /bin/bash
:
: It works :)
which, is actually what i did.
thanks.
terry ...
--
... it's not what you see ,
but in stead , notice ...
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-13 9:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 1:56 bash replacement terry white
2014-12-12 4:40 ` Gustavo Guillermo
2014-12-13 0:49 ` terry white
2015-01-13 8:34 ` Marian Marinov
2015-01-13 9:41 ` terry white
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).