[ Thanks to Paul
O’Rama for this link. ]
“If you’re like me and work for a company who has many Linux
admins all logging into servers and then su’ing to root, you may
find this tip beneficial. It is simply 3 lines that you add to
root’s .bash_profile which will keep separate history files for
each admin that su’s to root and the commands they ran. It will
allow you to go back and see what the user did as root…”