- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lock account after 5 unsuccessful login in HPUNIX ...
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
01-28-2012 11:08 PM - last edited on 01-30-2012 01:11 AM by Ajay-Kumar
01-28-2012 11:08 PM - last edited on 01-30-2012 01:11 AM by Ajay-Kumar
Lock account after 5 unsuccessful login in HPUNIX 11.31
Hello,
We tried to configure lock the account after 5 unsuccessful login in HPUNIX 11.31.
we configured AUTH_MAXTRIES=5 in /etc/default/security. But it is not working.
Then we found some solution in below link. they specified ldap in /etc/pam.conf file. But we are not using ldap.
How to resolve this issue. Kindly help me on this.
Regards
Shameem
-------------------------------
P.S. This Thread has been moved from Servers --> General to HP-UX --> Security - Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2012 11:09 PM
01-28-2012 11:09 PM
Re: Lock account after 5 unsuccessful login in HPUNIX 11.31
Hello,
I forgot to add one more point. It is non trusted system & we are using /etc/shadow file.
Regards
Shameem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2012 09:35 PM
01-29-2012 09:35 PM
Re: Lock account after 5 unsuccessful login in HPUNIX 11.31
Hi,
Can anyone help me to resolve this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2012 05:32 AM
02-25-2012 05:32 AM
Re: Lock account after 5 unsuccessful login in HPUNIX 11.31
Hi,
Please visit the following thread.
http://h30499.www3.hp.com/t5/System-Administration/account-locking-untrusted-system/td-p/4943305
In LDAP configuration, account locking will be maintained from the LDAP Server.
That configuration is for the LDAP server. You can get the benefits by making the system as trusted one.
Arockiasamy K
- Tags:
- LDAP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2012 11:40 PM
04-10-2012 11:40 PM
Re: Lock account after 5 unsuccessful login in HPUNIX 11.31
Hi Shameem,
Setting AUTH_MAXTRIES=5 in /etc/default/security file should help, but pam_hpsec should have been set in the /etc/pam.conf for the application that you are using to login. Note that, pam_hpsec module is the one that does access control checking on HP-UX.
Kindly provide the application that you are using for login and it would help if you share the corresponding /etc/pam.conf entry for that application.
Regards,
Bandi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2012 11:43 PM
04-11-2012 11:43 PM
Re: Lock account after 5 unsuccessful login in HPUNIX 11.31
Hi Shameem,
We do not need to have LDAP to lock the account after N number of unsuccessful retries. Setting AUTH_MAXTRIES in /etc/default/security will lock the account as desired.
According to man page, An account is locked after N+1 consecutive authentication failures. When I tested the account got locked after 3 times when AUTH_MAXTRIES is set to 2.
Do you see the account was not locked after 6 unsuccessful attempts with (AUTH_MAXTRIES=5)?
If you are facing the issue still could you share the login application and the /etc/pam.conf files to investigate further.
Regards
Deepak