Breaking Systems For Fun And Profit
Image by geralt @ Pixabay

Teaching Proper Sudo Usage

Sick and tired of your cow-orkers typing su - instead of sudo -i? Use this one:

chmod u-s /bin/su

What it does

It removes the SUID bit from /bin/su.

Why it works

The SUID bit is required to run the /bin/su binary as root, unless you already are root.

TL;DR

  • Old-fashioned cow-orkers
  • Fun