- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Login failure script for last one week
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
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
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
04-23-2012 03:43 AM
04-23-2012 03:43 AM
Login failure script for last one week
Hi
Looking for a script that will generate a report of unsuccessful logins for last one week for both linux and hp-ux env
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2012 06:34 AM
04-23-2012 06:34 AM
Re: Login failure script for last one week
You can see unsuccessful logins via the 'lastb' command.
- Tags:
- lastb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2012 10:15 PM
04-24-2012 10:15 PM
Re: Login failure script for last one week
I needed a script to running on weekly basis and generate a failure report for that particular week only . using lastb i will be getting for the full month
@Patrick Wallek wrote:You can see unsuccessful logins via the 'lastb' command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2012 12:52 AM
04-25-2012 12:52 AM
Re: Login failure script for last one week
>I needed a script to running on weekly basis and generate a failure report for that particular week only . Using lastb I will be getting for the full month
Using lastb(1) goes back as far as the last time the EOF was reset.
So either you need to reset it once a week. Or you need to script a check for the current week using data arithmetic.
- Tags:
- date arithmetic