Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-23-2008, 01:55 PM   #1
LQ Newbie
Registered: Jul 2006
Location: SF Bay area
Distribution: Ubuntu, SuSE, RedHat
Posts: 3

Rep: Reputation: 0
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,

Old 07-23-2008, 02:21 PM   #2
Registered: Sep 2007
Location: SF Bay Area, CA
Distribution: CentOS, SLES 10+, RHEL 3+, Debian Sarge
Posts: 159

Rep: Reputation: 32
You should look into putting /home on automount...really, saves you a lot of work.

There's plenty of monitoring software that can tell you who's logged in where. Worse comes to worse, just write a script that ssh in to every system and runs a who, then parse the results.
Old 07-24-2008, 11:52 AM   #3
LQ Newbie
Registered: Jul 2006
Location: SF Bay area
Distribution: Ubuntu, SuSE, RedHat
Posts: 3

Original Poster
Rep: Reputation: 0
Re: Command(s) for tracking user logins on multiple computers?

Can you recommend some of the monitoring packages you mentioned?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent a single user from multiple simultaneous logins MichaelP Linux - Networking 6 03-12-2008 10:11 AM
Tracking user logins that was allowed and not allowed eswanepoel Linux - Security 3 08-02-2006 04:37 AM
Using one Samba user for multiple computers Rax Linux - Networking 2 10-28-2004 09:26 AM
Multiple Logins jbraum Mandriva 1 01-21-2004 06:37 PM
the opposite command of su? can i access user logins when i am root? how? kublador Linux - Newbie 3 09-11-2003 03:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration