How to find the log for executed command in IBM AIX?

In Unix If we executed any command where will generate the particluar log related to command in Unix.

I do not think without the auditing subsystem if this is possible. But, if your users are honest and if you are root or have root like privileges, you can find /home/username/.sh_history file which contains the executed commands history.

I have once tried to port Snoopy logger to AIX and gave up after a couple of days. Somehow it is not possible to preload a library in AIX so overriding the execve() system call won't work.

I agree wiht admin_xor: without the auditing subsystem true command logs can't be implemented.

I hope this helps.

bakunin

Thanks for yours valuable reply...
I will check it...

I posted in another thread about this, but no harm mentioning here.
Rootsh on sourceforge will sort you out.
Logs everything to syslog (NB if you choose to log output as well as input and someone cats [or similar] a massive file, the output logs to syslog which can be significant overhead)