The w, who, users and finger commands help finding out the users who are currently logged in on the machine. However, the commands don't show whether the user logged in via Tectia Server or via some other remote login method. If you know that Tectia Server is the only remote login method to the machine then the w or who gives you the answer.
If there are several remote login mechanisms on the machine or several Tectia Servers running on different ports then the process list needs to be examined to find out the users. To see which users are logged in to Tectia Server one possible way is to use command "ps axuf" and then check the relevant ssh-servant-g3 processes and see which of them have some shell processes as a child process and the first field of the shell process line tells you the username.
answered Oct 20 '09 at 16:56
Sami Knuutinen ♦