- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System Log files
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
07-17-2006 11:13 PM
07-17-2006 11:13 PM
System Log files
I want to find out the complete list of system login details either it is from console or from remote.
Please let me know how to find out.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 11:15 PM
07-17-2006 11:15 PM
Re: System Log files
# last | more
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 11:22 PM
07-17-2006 11:22 PM
Re: System Log files
lastbjavascript:postAnswerSubmit('submit');
Submit shows bad logins.
the files they come from:
/var/adm/syslog/wtmp (last)
/var/adm/syslog/btmp (lastb)
The -R parameter on either command will show the source of the login by IP address.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 11:40 PM
07-17-2006 11:40 PM
Re: System Log files
In addition to the 'wtmp' and 'btmp' files which can be examined with 'last' and 'lastb' respectively, you should also examine the switch-user ('su') log:
# /var/adm/sulog
You will see entries that look like:
SU 07/17 11:00 - ttyp3 jrf-root
SU 07/17 11:01 + ttyp3 jrf-root
...a "-" indicates failure; a "+" signals success. The direction of the switch is shown as the last field.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 11:41 PM
07-17-2006 11:41 PM
Re: System Log files
On my systems (not sure if this is the same everywhere), a tty name of the form 'pts/0', 'pts/1', etc. indicates that the user logged in via ssh, while 'pts/ta', 'pts/tb', etc. indicates telnet. Examples of other tty names include 'console', 'remshd', and 'ftp'.
If you want to filter the output of 'last', you can specify a username or tty after the command. For example, 'last root' will show you logins for root, and 'last pts/0' will show logins on '/dev/pts/0'. 'lastb' behaves the same as 'last', except it displays invalid login attempts.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 11:51 PM
07-17-2006 11:51 PM
Re: System Log files
who -u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2006 12:44 AM
07-18-2006 12:44 AM
Re: System Log files
Thanks for sharing so much valuable information.