I have to maintain a system (debian) on which several users are allowed to install programs - so I would like to log, for example, if anyone executes "apt-get install" or "apt-get purge", so I can keep track of manually installed packages..
I'm looking for a general way to achieve this; it's not just APT, but several programs/scripts etc.
Any ideas?
/edit
a google-search with few different keywords brought up this:
https://serverfault.com/questions/201221/how-to-log-every-linux-command-to-a-logserver