How can I remove all the users and groups associated with removed (purged) programs?
For example, I install exim. It created a group and a user named Debian-exim.
I then use it for a while, and remove it using apt-get purge exim*
. And then, it removes all the files associated with it. But, it does not remove the users and groups created by the program 'exim'. I have installed and removed several programs, so, I am not sure how many users are left behind in my system. I want to remove all the unwanted users automatically when I uninstall a program, and I also want to remove all the unwanted users that exist currently in my system. How can I achieve that?
0 Answers