- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Login failure report
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
02-14-2007 06:55 PM
02-14-2007 06:55 PM
I want to generate a login failure report on HP-UX for a given month.
Could any one help me how to do it?
Thanks,
Vidhya
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 07:24 PM
02-14-2007 07:24 PM
Re: Login failure report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 08:15 PM
02-14-2007 08:15 PM
Re: Login failure report
as the previous post only helped with part of the answer, can you please explain in more details what you want as a report ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2007 08:52 PM
02-14-2007 08:52 PM
Re: Login failure report
Thanks for the information.
But `lastb` could be run only by superuser.
I want to generate a report which should give me the list of login failures for a month and this will be part of a menu run by an operator!
Thanks,
Vidhya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 01:07 AM
02-15-2007 01:07 AM
Re: Login failure report
try using this command in a script.
strings /etc/btmp
sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 01:15 AM
02-15-2007 01:15 AM
Re: Login failure report
> But `lastb` could be run only by superuser.
The is very good reason for this!
Unsuccessful login attempts are tracked in the '/var/adm/btmp' file. The file should NOT be readable by any user other than root. This is because *anything* keyed by the user is recorded. It is possible that password information could be seen in the file.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 01:30 AM
02-15-2007 01:30 AM
Re: Login failure report
I want to generate a report which should give me the list of login failures for a month and this will be part of a menu run by an operator! "
ok, then either suid /usr/bin/lastb so that it runs as root, or install and configure "sudo"
I recommend the latter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 01:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2007 08:20 AM
02-15-2007 08:20 AM
Re: Login failure report
So don't even bother with sudo or su or any other method to be able to run lastb or read btmp. The lastb command should only be used in looking for hackers -- and that requires somone who is trained in computer security.
Bill Hassell, sysadmin