- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to see and clear failed log in attempts in HPU...
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
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-17-2013 05:44 PM
04-17-2013 05:44 PM
Hi All,
I am using HPUX 11.23 and 11.31.
Shadow mode is configured /etc/shadow.
I have enabled "AUTH_MAXTRIES=3" i /etc/default/security.
It is working fine.
How can check how many failure attempts a user tried and how to clear that.
Actually I am looking for a Linux command like "faillog" in hpux.
If there no command in hpux like faillog. Please let me know how can we do this.
Solved! Go to Solution.
- Tags:
- SMSE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2013 11:57 PM
04-17-2013 11:57 PM
Re: How to see and clear failed log in attempts in HP-UX 11.23 and 11.31 in shadow password system
root can look at all failed attempts by using lastb(1). Either all or for specific users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2013 12:48 AM
04-18-2013 12:48 AM
Re: How to see and clear failed log in attempts in HP-UX 11.23 and 11.31 in shadow password system
Yes we can see bad login details from lastb.
But I am asking some thing different.
For example, In linux, if you can use the command "faillog" to see max fail login attemps. and using same commnad you clear the fail login attempts. So that user can log in to the server using same password.
So I am looking for the command in HPUX for same purpose.
If there is no command in HPUX, then how we can do this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 12:15 AM
04-19-2013 12:15 AM
Re: How to see and clear failed log in attempts in HP-UX 11.23 and 11.31 in shadow password system
>So I am looking for the command in HP-UX for same purpose.
Have you looked at:
passwd -s
logins
userstat
userdbget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2013 02:52 AM
04-19-2013 02:52 AM
SolutionWith "userstat -a maxtries", you will see a list of all users that are currently locked because of too many failed login attempts, and also the current number of failed attempts for those users.
If you want to check the current number of failed logins for a specific user, then "userdbget -u <username> auth_failures" should give you that information.
The AUTH_MAXTRIES paragraph in security(4) man page says that an account that has been locked because of too many failed logins can be unlocked with:
userdbset -d -u <username> auth_failures
(That example was not quite as easy to find as I expected, as neither userdbset(1M) nor userdbget(1M) man page talk about the auth_failures attribute at all. A helpful example would have been nice, since this might be a common question in high-security environments.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2013 03:34 PM
04-22-2013 03:34 PM
Re: How to see and clear failed log in attempts in HP-UX 11.23 and 11.31 in shadow password system
Thank a lot. This is what I want.