New answers tagged user-management
How to list all users and groups depends on how authentication is configured. The most basic are the /etc/passwd and /etc/group files used for local authentication. Using those files is insufficient to get a complete listing when user/group data is stored centrally, for instance in LDAP, NIS, Hesiod, etc. Central authentication is usually configured in ...
cat /etc/passwd # show all users cat /etc/group # show all groups You can then pipe the output to other programs/scripts for further processing.
ADS does this somewhat but probably not to the full extent you're talking about. That said, it is open source so if you have the development time behind this it might not be that infeasible. https://www.ldap-account-manager.org/lamcms/ LAM isn't that far off from what you're looking for, however, I would note that in my search for something similar I ...
Top 50 recent answers are included