- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to know which ip the user logins from?
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
06-25-2002 06:22 AM
06-25-2002 06:22 AM
I would like to know from which ip the user comes from. The output from w, who, or finger cannot give me the answer.
U no this?
Tx, Crystal
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:24 AM
06-25-2002 06:24 AM
Re: how to know which ip the user logins from?
who -R
Or to find out past logons, use:
last -R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:25 AM
06-25-2002 06:25 AM
Re: how to know which ip the user logins from?
last | more
succesful logins
lastb | more
unsuccesful logins
Hope this helps
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:26 AM
06-25-2002 06:26 AM
Re: how to know which ip the user logins from?
Tx,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:26 AM
06-25-2002 06:26 AM
Re: how to know which ip the user logins from?
last -R
will expand for ip's
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:27 AM
06-25-2002 06:27 AM
Re: how to know which ip the user logins from?
You can do:
# last -r username
This assumes that you have touched 'var/adm/wtmp' to first create it.
# who -R
...will also yield the hostname or IPaddress of the user(s).
In either case, if a hostname (or FQDN) is returned, and you want its corresponding IPAddress, do:
# getip hostname
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:27 AM
06-25-2002 06:27 AM
Re: how to know which ip the user logins from?
Start inetd in logging mode. It will report all the IP address in your syslog.log file.
#inetd -l
You can start it any time. But be aware that the size of syslog file can grow faster than earlier.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:28 AM
06-25-2002 06:28 AM
Re: how to know which ip the user logins from?
or who -u
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:29 AM
06-25-2002 06:29 AM
Re: how to know which ip the user logins from?
You can also try
#who -T
Thanks.
Prashant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 06:29 AM
06-25-2002 06:29 AM
Re: how to know which ip the user logins from?
Sorry, i meant 'last -R' not 'last -r'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2002 07:12 AM
06-25-2002 07:12 AM
Re: how to know which ip the user logins from?
who -uH
last -R