Tracking what commands were executed after sudo to another user

All team members has sudo access to user "batch55".
Need to track all the commands used by team members after sudo to "batch55".

Using HP-UX and ksh shell in our environment.

How can i acheive this?

Thanks In Advance.

man script

1 Like

Thanks