4 ms·
It's accountsservice: https://gitlab.freedesktop.org/accountsservice/accountsservice https://gitlab.freedesktop.org/accountsservice/accountsservi... It's an AP
by Jasper_ 6y ago
It's accountsservice: https://gitlab.freedesktop.org/accountsservice/accountsservice https://gitlab.freedesktop.org/accountsservice/accountsservi...
It's an API and associated service daemon to add/remove/modify users, since Linux does not have one of those. (except forking out to useradd/usermod/userdel, except on Debian where they supply the adduser/rmuser commands instead, because consistency is for chumps, I guess)
- teddyh 6y agoNot “instead”. The adduser/rmuser commands are in addition to useradd/usermod/userdel, which are more low-level.
- VMG 6y agobrowsed the repo 30s and found this commit https://gitlab.freedesktop.org/accountsservice/accountsservice/-/commit/435624d5c14ba8d2042b63d63aaf923803456768 https://gitlab.freedesktop.org/accountsservice/accountsservi... Never delete the root filesystem when removing users Many, many user accounts use / as their home directory. If deleting these accounts with accountsservice, we should just ignore requests to delete the home dir, rather than trash the user's computer. Fixes #57
- pferde 6y agoSlightly off-topic, but why on Earth does something like this need to be written in C?