Can i know who all the users have executed which command on a machine?
+1
A:
On a Unix-type machine, you would have to enable process accounting. The kernel would then write a record for each process that terminates indicating which command was executed, by whom, when, and how long it took to a file. You could then analyze the file.
The Linux HOWTO was updated in 2001 - it is likely to apply still, but you will need to check.
Jonathan Leffler
2009-08-20 05:40:58
A:
In Microsoft world that would be audit (entries in the security event log).
http://technet.microsoft.com/en-us/library/cc751315.aspx
See the Process Tracking section.
DmitryK
2009-08-20 06:00:20