There are two utilities available in Linux and Unix that provide information about remote user logins. These are rusers and rwho, which are backed up by corresponding daemons, rusersd and rwhod. These daemons share login information over the network allowing sysadmins to monitor login activity on different hosts.

Once the daemons are installed and running (sudo apt-get install rwho rusers -y in Ubuntu, yum install rwho rusers in Fedora and etc.) at different hosts across the network, you can use several tools to get login information about all of these hosts. One of them is rwho that is the remote and network-enabled version of the well known who tool.

viper@viper-laptop:~$ rwho
tesadmin tes1000_v203_1322_tst0:pts/1 Oct 24 10:25
viper viper-laptop:pts/0 Oct 24 10:24
viper viper-laptop:pts/1 Oct 24 10:26 :01
viper viper-laptop:pts/2 Oct 24 10:25
viper viper-laptop:tty7 Oct 24 09:11

Another one is rusers tool that broadcasts over the network for the rusersd daemon on the other hosts to return the information about the users currently logged in:

viper@viper-laptop:~$ rusers
Sending broadcast for rusersd protocol version 3...
192.168.0.1 tesadmin
viper-laptop. viper viper viper viper

Another tool available when rwhod is running is ruptime that outputs the loading and uptime information for all servers running rwhod in the LAN.

viper@viper-laptop:~$ ruptime
tes1000_v203 up 14+19:00, 1 user, load 0.59, 0.47, 0.46
viper-laptop up 1:39, 4 users, load 0.40, 0.52, 0.45

This is really nice tool to monitor status of servers without need to log in to them.

You can read more information about these tools and related ones here (IBM’s doc).

 

5 Comments

 

  1. December 31, 2010  11:06 pm by handbag handbag Reply

    Well. Not very what I expected, but you've created me feel about this topic from an additional perspective. Excellent job.

  2. April 15, 2011  11:51 pm by Kursy zarabiania w sieci Reply

    According to the World Economic Forum's 10th annual Global Information Technology Report, at

  3. April 28, 2011  4:22 am by paleolithic Reply

    Please tell me that youre heading to keep this up! Its so great and so important. I cant wait to read far more from you. I just feel like you know so considerably and know how to make people listen to what you've to say. This weblog is just also cool to be missed. Fantastic stuff, genuinely. Please, PLEASE keep it up!

  4. June 9, 2011  7:35 pm by engagement rings Reply

    There are some interesting points in this article however I don’t know if I see all of them middle to heart. There may be some validity however I'll take maintain an opinion till I look into it further. Good article , thanks and we want more! Added to FeedBurner as well.

Leave a reply

 

Your email address will not be published.