checking list of logged in users, without logging in to that linux pc.
Hello,
It is possible to check who logged in with "who" command. If we are also logged in to that linux pc. But, is there any possibility to check without our login?(not even by ssh) Our logging in to find that pc, will be wasting the cpu resources. And may disturb the user who is working on the x-session. |
Quote:
|
http://gd.tuwien.ac.at/linuxcommand....ges/rwho1.html
It may be what you are looking for. I believe it requires an open port though. |
You can use finger, BUT the remote box must run in.fingerd that is most unlikely in our days
Regards |
If you have a web server running on the server in question with PHP enabled you could create a php page that shows who is currently logged on.
Code:
<html> |
bathory: My systems run fingerd, could u tell me how to find the logged in users with that??
The php code with webserver is a good idea. But, it doesnt suit my environment. Its not server, i have 200+ individual pcs on my lan. And my plan is to list all the users currently working on all individual pcs. |
Code:
finger @host.example.invalid Some sites use the protocol for completely different purposes nowadays :D (kernel.org) |
Use ssh:
Code:
ssh remotesystem who | grep -v $USER P.S. You will need to 1) have a login account on the remote system(s), and 2) install your ssh public key on each system so that you do not need to enter a password. |
All times are GMT -5. The time now is 02:34 PM. |