Go Job Hunting at the LQ Job Marketplace
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 11-24-2009, 04:14 PM   #1
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
Current logged in users

I have 2 systems. (1) RHEL5 and (2) winXP pro

from xpPRO putty i ssh into rhel5 : user root
from xpPRO i ftp into rhel5 : user abc123

when i run
it only shows 1 user
when i do
#ps -u abc123
: it shows vsftpd deamon PID

is there a command that can be used to show all currently loggen in users via what ever means...ftp,ssh,telnet etc...
Old 11-24-2009, 04:16 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Try "who".
Old 11-24-2009, 05:39 PM   #3
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Nope. #who will not work
Old 11-24-2009, 10:02 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,623

Rep: Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149Reputation: 2149
Old 11-25-2009, 04:06 AM   #5
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,985

Rep: Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819Reputation: 819
Originally Posted by deci007 View Post
Nope. #who will not work
If you are going to try answering posts like this, it would be helpful to say something more like " 'who' does x and I want y ". Otherwise it will be difficult to get subsequent help (particularly as 'who' seems to be the obvious answer to the question that you asked, even if it is not the answer to the question that you had in mind, as you should already know by now).


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
How to check if the current shell is where I logged in? anupamsr Linux - Newbie 7 02-13-2008 03:15 PM
Logged in users xlordt Linux - Newbie 3 11-01-2007 10:54 PM
4 of the same users logged on... true_atlantis Linux - Newbie 1 04-13-2006 11:54 PM
how to View Current Logged In Users scialom Linux - Software 1 10-20-2004 10:13 AM
No Users logged in X kaise_sose Linux - Software 2 10-19-2004 02:57 AM

All times are GMT -5. The time now is 05:23 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