Command(s) for tracking user logins on multiple computers?
I often have the need to find out all the Linux computers that an individual user is currently logged into across a network. Is there a simple command or pipeline of commands that can be run to report this?
A good example would be that I need to reset a user's Gnome settings by moving aside all their "." files (.gnome* .gconf* .gtkrc* .metacity .nautilus Desktop). However, I want to make sure that the user is not logged into any other computer simultaneously. Running a command that would report all the host names that a single user is currently logged into would be really helpful.
Is there such a thing in the linux world or a custom script that someone might have written?
Thanks in advance for any help,