Good Afternoon Everyone.

As most are aware, on the majority of *Nix Systems, all accounts have a history file that logs what they type.

The problem I have with this, is that certain users connect, then SU to other users, and issue commands. History does not differentiate between those that logged in as the account and those that su-ed to the account.

Is there any way of logging these?
Can a connection history be logged to one file, no matter if they su-ed to another account?

Any help, suggestions, tips are most welcome.

Thanks