> 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?
> 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.
systemd-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).
Send a message to a socket-activated daemon running as a UID with write access to the password database.