Help - Search - Members - Calendar
Full Version: Watching SSH User
The Planet Forums > Control Panels > cPanel/WHM
Jeewhizz
I have a user who's using SSH, is there a command to see where he is in the filesystem, last commands etc?! Apart from 'w'!
mau1986
pico /home/username/.bash_history

Unless they've linked it to /dev/null, that'll show you their command history.

Regards,
Matt
Dave#
QUOTE
Originally posted by Jeewhizz
I have a user who's using SSH, is there a command to see where he is in the filesystem, last commands etc?! Apart from 'w'!


script is what you looking for

man script
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.