The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM


UNIX and Linux Applications Questions involving software not covered by other forum go here. This includes Databases and Middleware.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
script on user who logged in???? kim187 Shell Programming and Scripting 2 04-30-2008 02:30 AM
Need help getting logged in to server mayewil SUN Solaris 1 10-26-2006 12:06 PM
know who logged and logged out with their timings vkandati UNIX for Dummies Questions & Answers 3 03-09-2005 07:04 AM
user logged on? provo Shell Programming and Scripting 1 12-08-2001 01:25 PM
Is user logged on?? provo UNIX for Dummies Questions & Answers 1 12-07-2001 02:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-25-2007
Registered User
 

Join Date: Sep 2007
Posts: 20
Question user logged on any server

the method to find out the all the user who are the current user of the system?
i tried with the who. but with that i receive the TTY like something.
Reply With Quote
Forum Sponsor
  #2  
Old 09-26-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
Your question is unclear, do you need t ofind out all users currently logged on the server ? If yes, "who" command will give you this, you can also use "finger", it will report like :
Quote:
Login Name Tty Idle Login Time Where
root root pts/0 - Wed 03:25 10.10.1.1
Reply With Quote
  #3  
Old 09-28-2007
Registered User
 

Join Date: Sep 2007
Posts: 20
clering question

thanks for rply
my question is :
i want to know which are the users which logged on the server
by who or finger i rcv only the vertual name
i want to know the actula name and the destination ip or any information abt the user
Reply With Quote
  #4  
Old 09-28-2007
sysgate's Avatar
Unix based
 

Join Date: Nov 2006
Location: /root
Posts: 1,197
The IP address that you see from finger or who is the IP of logged user.
Use the "last" command to see users previously logged or still logged in.
You can retrieve the information about users like :
example : you run "finger" and you see user "ssh" logged in, then you can "grep ssh /etc/passwd" and you should see :
Quote:
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
- the part "Privilege-separated SSH" is comment, and usually this is additional information about certain user.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0