views:

60

answers:

2

Is there any way/command to detect ongoing telnet sessions? I have a linux system which is shared by 3-4 engineers. I want to track which engineer is logged in and from which ip address. Is there any command/log which can provide me above informations?

+1  A: 

The command is who or w

relet
Thanks for your quick reply. :)
alam
@relet: Is there any command to terminate telnet/ssh sessions?
alam
`who -aH` and then `kill PID`
sanmai
A: 

You could also try finger.

Polymorphix