$ ./guess_the_languageLinux CLI
Linux CLI · hard · #11

What does the s in the owner execute slot mean?

-rwsr-xr-x 1 root root 68208 /usr/bin/passwd
  1. It runs with the owner's privileges
  2. Only root is allowed to ever execute it
  3. It is a symlink owned by root
  4. Others may not delete or rename it
The setuid bit makes the program run as its owner (root here), which lets passwd update the shadow file.
Play Linux CLI ▸