Read more
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- System Administration
- >
- How to see and clear failed log in attempts in HPU...
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
How to see and clear failed log in attempts in HPUX 11.23 and 11.31 in shadow password system
SOLVED- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- 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
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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP