- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- limit password length in hp-ux 11i v1
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
02-03-2007 05:41 PM
02-03-2007 05:41 PM
limit password length in hp-ux 11i v1
I need to limit maximum and minimum password length. How can I do that? Do I need any patch to install for enabling this feature?
Best regards,
Rana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2007 06:16 PM
02-03-2007 06:16 PM
Re: limit password length in hp-ux 11i v1
# man security
for details.
Also, make sure you system is trusted. That will give you more control as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2007 06:24 PM
02-03-2007 06:24 PM
Re: limit password length in hp-ux 11i v1
/etc/defaults/security
Its a wonderful little file that lets you let complexity and length guidelines on HP-UX.
No patches required.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2007 06:27 PM
02-03-2007 06:27 PM
Re: limit password length in hp-ux 11i v1
Thanks for reply. I do not have this file in my system but I can do man security. Do I need to create this file in the said path? Is it possible to configure this file according to my requirement keeping system untrusted? Please explain a little more?
Best regards,
Mostafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2007 01:34 AM
02-04-2007 01:34 AM
Re: limit password length in hp-ux 11i v1
Ah, you want your system to be 'a little bit pregnant' !?
I guess you ask the question to try to meet an audit requirement? Well, what's behind the audit requirement? Is it really only about the 'rubber stamp of approval' or a trigger to set up a (more) trusted environment.
Good luck,
Hein van den Heuvel
HvdH Perfomance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2007 02:32 AM
02-04-2007 02:32 AM
Re: limit password length in hp-ux 11i v1
> Do I need to create this file in the said path? Is it possible to configure this file according to my requirement keeping system untrusted?
Yes, you need to create the file named '/etc/default/security' if it doesn't already exist. The manpages detail the options and caveats.
Unless you are going to convert your system from an untrusted to a trusted environment, your mininum and maximum password length will be limited to 6-to-8 characters. Trusted systems allow the minimum length to range from 6-to-80.
Since untrusted systems enforce a password length minimum of six (6) for non-root users, the use of the '/etc/default/security' file on an untrusted system to alter password length doesn't offer more than a two-character increase to a minimum of eight (8). Too, only the first 8-characters of a password are significant on an untrusted system, so both your minimum *and* maxiumum size cannot exceed 8-characters thereon.
Certainly, however, there are other features and reasons to (1) enable the 'security' file (see the 'security(4)' manpages); (2) convert to a shadow password file (see the manpages for 'shadow(4)'); or (3) convert to a trusted system.
If you read the 'security(4)' manpages with these choices in mind, you will see that some of the configuation options for the 'security' file require either a shadow password environment or a trusted one.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2007 05:36 AM
02-04-2007 05:36 AM
Re: limit password length in hp-ux 11i v1
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2007 03:26 PM
02-04-2007 03:26 PM