If a user execute commands remotely over ssh :
[user@remote ~] $ ssh USERNAME@SERVER COMMANDS
SERVER administrator can log those
COMMANDS executed in a "not a tty" session ?
Also when a user invokes a new shell(
running /bin/bash from existing bash shell), commands executed in this new shell are not listed in user's bash history; How to log those commands ?