3 ms·
We were located on Brazil, moving some applications to RHEL servers located on EUA. My junior-sysadmin, logged as root, accidentally removed some /lib librarie
by slipwalker 9y ago
We were located on Brazil, moving some applications to RHEL servers located on EUA.
My junior-sysadmin, logged as root, accidentally removed some /lib libraries ( don´t remember which exactly ) and we would be locked out of the servers if we closed the ssh shell already opened.
No scp, no ftp, no kind of file transfer was possible ( due the lack of the libraries on the destination server ). and we would have to call the admins on the remote site to clean the mess, but i decided to try something:
I base64-hexdump'ed the proper binaries on a local server ( same distro ) and copy/paste via the terminal to the remote server.
Luckly i had busybox compiled statically on the remote server, so the base64 tooling was available... and then we had our server accepting connections again, and the other admins never knew it ever happened.