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