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 ...
--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html