- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to know how the system shows your last sucess...
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
11-17-2004 06:12 AM
11-17-2004 06:12 AM
Need to know how the system shows your last sucessful and un-sucessful login time.
As far as i know if a server is a trusted one it is shown by default.
But do anybody know where it is mentioned to display these when you login.
Need to know this for a security Audit.
THanks in Advance.
AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 06:16 AM
11-17-2004 06:16 AM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
takes data from /var/adm/wtmp
lastb
takes data from /var/adm/btmp
strings command will get you raw data.
last -R
lastb -R
Gets you the host the login came from.
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
11-17-2004 06:18 AM
11-17-2004 06:18 AM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
Wants to know where you specify in the system (in one of the config files) so that it will get displayed while you login.
Thanks,
AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 06:19 AM
11-17-2004 06:19 AM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
It's the 'login' process that displays this information if the system is trusted. It gets the information from 'btmp|wtmp' files under /var/adm/ directory.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 06:26 AM
11-17-2004 06:26 AM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 06:28 AM
11-17-2004 06:28 AM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
-Sri
PS: 0 points pls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 06:33 AM
11-17-2004 06:33 AM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
Regards,
AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2004 07:31 PM
11-17-2004 07:31 PM
Re: Need to know how the system shows your last sucessful and un-sucessful login time.
last|grep `whoami`|head -2
lastb|grep `whoami`|head -1
The reason for head -2 on the last command is that head -1 would only show you the current login.
Mark Syder (like the drink but spelt different)