- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can I get the full timestamp from btmp?
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
05-16-2002 04:26 AM
05-16-2002 04:26 AM
When I use listb to see the failed login attempts, it only gives the timestamp in:
DDD MMM dd hh:mm
Is it possible to get access to the year and also the second?
Also, the following is an extract from SecurityFocus Online (http://online.securityfocus.com/bid/3289/discussion):
"The version of 'login' shipped with HP-UX 10.26 does not record unsuccessful login attempts in 'btmp'. The btmp file is used to record bad logins."
Although I'm not using 10.26, I would be very interested to know the difference between "unsuccessful login attempts" and "bad logins"?
Thanks,
Gary Cooper
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 04:35 AM
05-16-2002 04:35 AM
Re: Can I get the full timestamp from btmp?
btmp contains the binary date so you can get year and second but not with lastb.
You could try /usr/sbin/acct/fwtmp < btmp
fwtmp prints pretty much all information from a wtmp/btmp format file. You could use it to get the data and mybe awk to format it.
As to "unsuccessful login attempts" and "bad logins", I'd consider them to be the same thing.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 04:37 AM
05-16-2002 04:37 AM
Re: Can I get the full timestamp from btmp?
Try:
/usr/sbin/acct/fwtmp < btmp
- this gives you more date info.
Rgds, Robin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:45 AM
05-16-2002 05:45 AM
Re: Can I get the full timestamp from btmp?
Comments appreciated.
Thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 05:54 AM
05-16-2002 05:54 AM
Re: Can I get the full timestamp from btmp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 07:42 AM
05-16-2002 07:42 AM
SolutionThis is the patch that fixed it, maybe you're at a later patch level:
http://europe-support.external.hp.com/wpsl/bin/doc.pl/sid=658c55b00b9d8dd500/screen=wpslDisplayPatch?HW=s800&OS=10.26&PACH_NAM=PHCO_17719
Rgds, Robin