How to Audit User Commands When sudo su - to Another User
Posted on 2011-09-28
We have a team of people that login to unix servers as their individual ID, then need to "sudo su - shareduser" to a shared user ID. It is possible that you could have several people logged into the same server at the same time that has switched to the shared user. The question is - is it possible to keep an audit trail of the commands that each individual user runs as the shared ID? Is so, can you tell me how this is done? We are using two flavors of UNIX, AIX and RedHat Linux.