If you need to know who is currently logged in to any machine on the local network use the rusers command.

Command Format

rusers [-option(s)] [hostname]

Examples

$ rusers

localhost user2

saturn user3

$

Use the -l option to get a longer listing in the style of the who command :

$ rusers -l

user3 Saturn:console May 24 08:33 :04 (:0)

user2 localhost: console May 24 08:33 19:32 (:0)

$