LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-28-2009, 02:43 PM   #1
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 141

Rep: Reputation: 16
user ip addressfrom server


hi

how to take out user ip address from rhel server...who already logged out..
 
Old 10-28-2009, 03:08 PM   #2
janoszen
Member
 
Registered: Oct 2009
Location: Budapest
Distribution: Mostly Gentoo, sometimes Debian/(K)Ubuntu
Posts: 143

Rep: Reputation: 22
Rephrase

Rephrase your question please. Do you want to know the IP address of a server from the console where you have no access? In most cases: forget it.

Take a look at your switch instead.
 
Old 10-28-2009, 04:43 PM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
If you're asking how to find the connecting IP address of a remote user, you can run the last command, e.g.
Code:
last -i
 
Old 10-28-2009, 04:50 PM   #4
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
Or are you still seeing it in CLOSE_WAIT?

If so, this might be of interest: http://www.sunmanagers.org/pipermail...ry/007068.html
 
Old 10-29-2009, 12:45 AM   #5
avijitp
Member
 
Registered: May 2005
Location: India
Distribution: FC11, Debian/Ubuntu, RHEL, Solaris, AIX, HP-UX
Posts: 161

Rep: Reputation: 32
Use following:

Code:
last | grep <username>
This should help.
 
  


Reply


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
Move user files from Samba server to new samba server TheB2B Linux - Server 3 11-10-2007 08:30 PM
Can XP user in at as anyone on Samba server? McManCSU Linux - Server 2 05-08-2007 04:28 PM
su user = server hangup AndrewJR Linux - General 1 10-04-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:42 PM.

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