Breaking Systems For Fun And Profit
Image by Gerd Altmann @ Pixabay

Binary Confusion

A classic, annoy your cow-orkers, while shooting yourself in the foot!

mv /usr/bin '/usr/bin '

What it does

It changes the directory name of /usr/bin to include a space at the end.

Why it works

/bin is a symbolic link to /usr/bin' on modern RHEL based systems. Changing the name of/usr/binto/usr/bin␣` will break this symlink. It’s also no longer in anyone’s path…

TL;DR