Files
it-sec-exercises/sheet05/a3/a.txt
Leo 58553b688a
All checks were successful
zip and release / build-and-release (push) Successful in 3s
feat: a3
2026-05-22 11:52:02 +02:00

4 lines
395 B
Plaintext

Passwords are stored in the /etc/shadow file, which is restricted to the root user.
A standard user cannot write to it directly. However, the passwd executable is owned by root and has the SUID permission set.
When a standard user runs passwd, the SUID bit tells the system to execute the program with the privileges of root,
giving the program the temporary permissions to update /etc/shadow