- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Block account in failed attempts
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
Forums
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
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
10-05-2006 03:35 AM
10-05-2006 03:35 AM
I need to block accounts in my HP-UX after 6 failed attempts. There is some file or argument to activate this setting? maybe in /etc/default/security? and for unblock those accounts after X time?
Thanks,
David Acosta
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 03:45 AM
10-05-2006 03:45 AM
Re: Block account in failed attempts
The latest versions of /etc/default/security have this feature. I checked the man pages for 11iV2:
http://docs.hp.com/en/B2355-90846docs/B2355-90846docs.pdf
As I recall this was not available in earlier versions, but may be available via patch.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 03:56 AM
10-05-2006 03:56 AM
Re: Block account in failed attempts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 04:24 AM
10-05-2006 04:24 AM
Solutionhttp://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=StdModSecExt
You never want an automatic unblock -- if an account was blocked due to too many tries, a human must make a judgement decision about whether this was some fumble fingers or a possible attack on the system.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 04:58 AM
10-05-2006 04:58 AM
Re: Block account in failed attempts
Must be a mistake in the man page . . . .
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 05:35 AM
10-05-2006 05:35 AM
Re: Block account in failed attempts
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 05:39 AM
10-05-2006 05:39 AM
Re: Block account in failed attempts
The parameter "NUMBER_OF_LOGINS_ALLOWED" controls the number of logins allowed per user (concurrent logins) but not the failed logins for block accounts... I think that this feature is not implemented yet in HP-UX older than 11.0...
Somebody knows about other tool or "trick" for this thing?
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 05:40 AM
10-05-2006 05:40 AM
Re: Block account in failed attempts
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=StdModSecExt
For a Trusted system, you use SAM to set the system security policies (Audititing --> System Security --> General User policies.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2006 08:37 AM
10-05-2006 08:37 AM
Re: Block account in failed attempts
I
don't have a 10.20 system to see if it has the -l option for passwd. If not, you'll have to use sed to replace password field in the locked account with an invalid value. Now I'm not a fan of just stuffing a "*" in the passwd file. It doesn't say very much -- it does disable the login but without a reason. To disable a login in an untrusted system, you simply put any string less than 13 characters in the field. For instance:
LOCKED EXPIRED TERMINATED
are all valid lockout strings. I like to use UPPERCASE so it stands out but lowercase is just as effective.
Bill Hassell, sysadmin