Commit Graph

5 Commits

Author SHA1 Message Date
a9da58421f su: do not pass out-of-bounds argv to execv when argc is 1 2022-10-29 20:13:40 +02:00
8375701bf6 session, su: Split password-collecting logic into a separate function 2022-10-29 10:01:44 +02:00
5aba1c5f15 su: Make it setuid root, ask for a password, and accept a username
It asks for a password only if you are not root, obviously.
2022-10-28 20:57:13 +02:00
b8296eb92d su: Also set group ID 2022-10-28 17:55:56 +02:00
68d0d0b759 apps: Add a new su utility 2022-10-28 17:52:46 +02:00