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 Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

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 06:30 AM
Need help getting logged in to server mayewil SUN Solaris 1 10-26-2006 04:06 PM
know who logged and logged out with their timings vkandati UNIX for Dummies Questions & Answers 3 03-09-2005 10:04 AM
user logged on? provo Shell Programming and Scripting 1 12-08-2001 04:25 PM
Is user logged on?? provo UNIX for Dummies Questions & Answers 1 12-07-2001 05:41 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-26-2007
NIMISH AGARWAL NIMISH AGARWAL is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 26
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.
  #2 (permalink)  
Old 09-26-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
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
  #3 (permalink)  
Old 09-28-2007
NIMISH AGARWAL NIMISH AGARWAL is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 26
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
  #4 (permalink)  
Old 09-28-2007
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
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.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0