Download your favorite Linux distribution at LQ ISO.
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: 356Reputation: 356Reputation: 356Reputation: 356
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.9, Centos 7.3
Posts: 17,362

Rep: Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377Reputation: 2377
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: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
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 02:11 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