4 ms·
> how many binaries are suid binaries while they probably shouldn't be (passwd I would expect an unprivileged user to be able to change their own password. How
by yjftsjthsd-h 7mo ago
> how many binaries are suid binaries while they probably shouldn't be (passwd
I would expect an unprivileged user to be able to change their own password. How else would that work?
- kam 7mo agoSend a message to a socket-activated daemon running as a UID with write access to the password database.
- linsomniac 7mo agoIsn't the issue in this case caused not by suid, but by a daemon running as root reading files from a tmp dir? Seems like a socket-activated daemon wouldn't solve this specific case.
- deleted 7mo ago[deleted]
- magicalhippo 7mo ago> How else would that work? Windows way is to have a privileged service which the non-privileged user application talks to over sockets or similar.
- NekkoDroid 7mo agosystemd-homed stores most of the user specific information in the home directory `~/.identity`, but since the file contents have to be signed the changes need to be done though a daemon, which is talked to via IPC (homectl does the talking to systemd-homed).