- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remote login
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 08:07 PM
04-28-2008 08:07 PM
serverA
======
#who -u |grep pts/30
ora_usr pts/30 Apr 29 11:45 serverB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 08:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 08:28 PM
04-28-2008 08:28 PM
Re: remote login
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 08:51 PM
04-28-2008 08:51 PM
Re: remote login
ora_usr is common user , so I don't know which user use this login at the time .
thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:01 PM
04-28-2008 09:01 PM
Re: remote login
In that case, do "last -R" to know the IP address from that user logged in.
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:21 PM
04-28-2008 09:21 PM
Re: remote login
I think the last -R in serverB only show who is logging in serverB , but can't show who is using telnet to connect serverA , for example , there are 10 user use ora_usr to telnet to serverA , how do I know who is who ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 09:40 PM
04-28-2008 09:40 PM
Re: remote login
I guess, You can only see the IP address/system name only from where user id 'ora_usr' logged in.
Best Regards,
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:33 PM
04-28-2008 10:33 PM
Re: remote login
But lsof which lists open files "might" have information to help find out who has a telnet session open.
lsof gives an understanding of the relationship of processes to open files descriptor and sockets and much more.
May be worth a shot looking at it.
If I get a chance I'll install it and see if it will be of any use.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:38 PM
04-28-2008 10:38 PM
Re: remote login
"On Unix one may use 'lsof' (if available) and grep on the shell pid and
file descriptor 0 to find the line containing the source ip addr. In
some flavors of Unix the /proc filesystem can also be of help."
Sounds like lsof may be of help after all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2008 10:40 PM
04-28-2008 10:40 PM
Re: remote login
who -mu
That command showed my machine name including domain for my ssh session.
Which I then used nslookup to get the IP.
I think it would work for telnet too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2008 12:13 AM
04-29-2008 12:13 AM
Re: remote login
the lsof can show the remote IP , but how to know which user ( from 10 of them ) is this login session ?
for nslookup , you mean run it at serverB ? I tried to use nsloopup IP but not work, can advise how to use it ? thx
#man nslookup
nslookup -query=hinfo -timeout=10