[SATLUG] How to monitor SSH session?
Vern Davis
vern.davis at gmail.com
Thu Apr 12 08:50:30 CDT 2007
On 4/12/07, Sean Carolan <scarolan at gmail.com> wrote:
> Is there a way to monitor a particular user's SSH session in
> real-time? Here's what I'd like to accomplish:
>
> * Give user login with sudo so he can become root without the root password
> * Monitor what bash commands they run in real-time
> * Also have a record of all the commands he ran while logged onto the box.
>
> I know the .bash_history file will show a record for the third item,
> but what about monitoring in real-time?
>
> thanks
>
> Sean
> --
You can configure gkrellm to show when someone is logged in through
ssh, or samba, or various other protocols (I've only tried it with
those two). It's a desktop-type system monitor, so it will give you a
heads up normal use.
--
vern.davis at gmail.com
More information about the SATLUG
mailing list