Operating System - HP-UX
1834100 Members
2697 Online
110063 Solutions
New Discussion

Re: How to audit a user-defined event

 
Boyd Kodama
Frequent Advisor

How to audit a user-defined event

HP-UX 10.20, series 700

Is there a way to set up auditing to audit each time a user executes a user-defined event, e.g. /home/mydir/bin/myexec? I would like to audit each
time myexec is run.

any ideas?

thanks,

Boyd
Without Mondays, there weren't be any Fridays
1 REPLY 1
Laurent Paumier
Trusted Contributor

Re: How to audit a user-defined event

If you turn on process accounting (man accton), the system will log every process that runs on the system.
Or you could wrap your program in a script shell that logs whatever information you need, then start the real program.