HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem lockout on RH4 Update 5!!
Operating System - Linux
1827794
Members
2890
Online
109969
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-23-2009 09:47 AM
09-23-2009 09:47 AM
Problem lockout on RH4 Update 5!!
Hi
I try to set lockout after retry 3 times at /etc/pam.d/system-auth.
----------example------
auth required /lib/security/pam_tally.so onerr=fail no_magic_root
account required /lib/security/pam_tally.so deny=3 no_magic_root reset
------------------------
after I set, I still can fail login for 7 times. I also touch /var/log/faillog.
Anyone please suggest me.
thanks
I try to set lockout after retry 3 times at /etc/pam.d/system-auth.
----------example------
auth required /lib/security/pam_tally.so onerr=fail no_magic_root
account required /lib/security/pam_tally.so deny=3 no_magic_root reset
------------------------
after I set, I still can fail login for 7 times. I also touch /var/log/faillog.
Anyone please suggest me.
thanks
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2009 10:16 AM
09-23-2009 10:16 AM
Re: Problem lockout on RH4 Update 5!!
Yes, you can fail 7 times. But can you succeed after the first 3 failures?
The lockout system is not going to prevent you from failing to login - in fact, it does just the opposite: after the first 3 failures, it guarantees that all other login attempts with this username will fail too, *even with the correct password*, until the lockout is reset.
Thus, the intruder can huff and puff all s/he wants, but s/he is not going to get in. It's better to not tell the intruder that the account has been locked: this way, the intruder may waste some time uselessly trying to access an account that has already been locked out.
MK
The lockout system is not going to prevent you from failing to login - in fact, it does just the opposite: after the first 3 failures, it guarantees that all other login attempts with this username will fail too, *even with the correct password*, until the lockout is reset.
Thus, the intruder can huff and puff all s/he wants, but s/he is not going to get in. It's better to not tell the intruder that the account has been locked: this way, the intruder may waste some time uselessly trying to access an account that has already been locked out.
MK
MK
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP