- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX Security - Password complexity
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-28-2005 04:40 AM
02-28-2005 04:40 AM
Quick question I hope...
I have many trusted mode systems and I would like to enforce password complexiity.
Everything was fine until I discovered that many users are not using very strong passwords i.e. "abc123"
My question is:
How come password complexity does not kick in at the moment users are entering their passwords.
I give them a temp password and make sure the "passwd -f $USER" is executed before they login but still they can put "abc123" as their password.
P.S. I know that I did not give points before when I asked questions but I will do it from now on.
TIA
Francis
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 04:44 AM
02-28-2005 04:44 AM
Re: HPUX Security - Password complexity
man getprdef for details.
/usr/lbin/getprdef -m rstrpw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 04:46 AM
02-28-2005 04:46 AM
Re: HPUX Security - Password complexity
Are you using the /etc/default/security file? You can set PASSWORD_MIN_
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 05:14 AM
02-28-2005 05:14 AM
Re: HPUX Security - Password complexity
rstrpw=YES
what are the values of PASSWORD_MIN_
MIN_PASSWORD_LENGTH is set to the default. i.e. 6
PASSWORD_HISTORY_DEPTH is set to 1
To be dealt with later.
I just did a test with a test user.
I set the password to "abc123" as root then passwd -f testuser.
surely enough it asks me to change the password the next time I log in but I was able to set the passwd as that testuser to "cba321".
Which does not make sense. So I'm wondering if it works at all in regards to password complexity.
TIA
Francis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 05:25 AM
02-28-2005 05:25 AM
Solution"PASSWORD_MIN_
Note: These parameters apply only if the libpam_unix patch PHCO_24606 or later is installed.
PASSWORD_MIN_UPPER_CASE_CHARS=N Specifies that a minimum of N upper-case characters are required in a password when changed.
PASSWORD_MIN_LOWER_CASE_CHARS=N Specifies that a minimum of N lower-case characters are required in a password when changed.
PASSWORD_MIN_DIGIT_CHARS=N Specifies that a minimum of N digit characters are required in a password when changed.
PASSWORD_MIN_SPECIAL_CHARS=N Specifies that a minimum of N special characters are required in a password when changed.
Default value: The default for each of these parameters is zero."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 02:08 PM
02-28-2005 02:08 PM
Re: HPUX Security - Password complexity
these settings look sufficient for the policies we want to enforce for the password.
I will install the patch PHCO_24606 on a test system and validate that I can deploy safely.
But I'm still wondering why "abc123" is a valid password on a system that is supposed to be C2-compliant after being put in Trusted Mode.
Francis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 02:47 PM
02-28-2005 02:47 PM
Re: HPUX Security - Password complexity
Sometimes 'compliance' means you have to do a couple of manual steps to fully become compliant. (Compliance = Able to make compliant. ;) )
In your case, adding some of the rules Pete pointed out should get you there.
P.S. I don't think you have to call him "Mr. Randall", Pete will do. I certainly don't wantanyone calling me Mr. Payne.
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 02:56 PM
02-28-2005 02:56 PM
Re: HPUX Security - Password complexity
http://security.isu.edu/pdf/cscst285.pdf ) by stating that all user passwords should be computer generated (an option in a Trusted system). So if you set a security policy that does not allow user-generated passwords, your initial password problem is solved. HP documents some of the details in http://docs.hp.com/en/B2355-90121/ch01s05.html
For subsequent password generation, you can control trivial password choices with the /etc/default/security file options (man security):
MIN_PASSWORD_LENGTH=8
PASSWORD_HISTORY_DEPTH=10
PASSWORD_MIN_UPPER_CASE_CHARS=2
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=2
PASSWORD_MIN_SPECIAL_CHARS=2
The above entries will fail all simple passwords like abc123 or even 4321abcd. Because the above settings require lower and UPPER case plus numbers and special characters, the user is severely constrained on trivial choices.
Note: Making passwords very long (minimum greater than 8 chars) and very complex, and requiring monthly changes brings in a totally different security issue: human nature. Using the above rules, the password:
AbCd12%&
will meet the minimum requirements but users will find it difficult to remember and this brings in an even worse scenario: yellow stickys and PDAs with lists of passwords. While the goal is to make guessing passwords difficult, if you go too far, then the passwords start appearing in unsecure locations, especially with sysadmins or DBAs that have responsibilities for many systems.
So there is a fine line between preventing trivial password creation and undesired user behavior. Casual users will simply call the helpdesk and ask for a new password. Eventually, highly intrusive rules get overruled and simplified by upper management.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2005 09:07 PM
02-28-2005 09:07 PM
Re: HPUX Security - Password complexity
In addition to previous comments, you can also manually add unsuitable passwords to the spell(1) dictionary and then enable dictionary checks. There's info on adding words in the man page for spell(1).
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 03:29 PM
03-10-2005 03:29 PM
Re: HPUX Security - Password complexity
John, I understand that I will have to do manual steps...but triviality checks should have rejected that kind of password.
Using the different variables available did the trick.
Bill, thank you for providing the link to Password Management Standard, very interesting document.
The man pages that I have on my systems don't contain the PASSWORD_MIN_type_CHARS definition.
Token authentication ( SecureID ), biometrics, etc...
Darren, I already tried that but would be a tedious task to maintain. Not a solution.
Thank you all
Francis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 03:37 PM
03-10-2005 03:37 PM
Re: HPUX Security - Password complexity
Probably the policy is a little more complex than required.
I read this thread carefully and the efforts were excellent. My colleagues deserve the 10 seconds it will take to assign them points.
0 for me.
Good luck with your issue.
Steven
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
03-10-2005 06:25 PM
03-10-2005 06:25 PM
Re: HPUX Security - Password complexity
Darren, I already tried that but would be a tedious task to maintain. Not a solution.
Yes it is _THE_ solution!
You can make it VERY simple by just using a complete dictonary (or even 2 different language dictionaries merged; for us Dutch & English).
Any "special" words, such as company-specific abbreviations, your business lingo, etc, are then all you have to maintain.
While not on HPUX, THAT is what we are using, it works great & costs little effort.
I would not expect HPUX to behave greatly different!
Proost.
Have one on me.
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2005 11:42 PM
03-10-2005 11:42 PM
Re: HPUX Security - Password complexity
> The man pages that I have on my systems don't contain the PASSWORD_MIN_type_CHARS definition.
Most likely, this is an 11.00 system that may not be up to date on patches, specifically security patches. If you haven't done so yet, download the security_patch_check program from http://software.hp.com and run a check on all your systems. This program also has the side benefit of checking patch consistency (all, not just security). The otheruseful tool in patch management is check_patches, useful after any major patch update.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 12:54 AM
03-11-2005 12:54 AM
Re: HPUX Security - Password complexity
I have set the following in my /etc/default/security file.
PASSWORD_HISTORY_DEPTH=5
SU_ROOT_GROUP=ADMIN
ABORT_LOGIN_ON_MISSING_HOMEDIR=1
MIN_PASSWORD_LENGTH=8
PASSWORD_MIN_UPPER_CASE_CHARS=2
PASSWORD_MIN_LOWER_CASE_CHARS=2
PASSWORD_MIN_DIGIT_CHARS=2
PASSWORD_MIN_SPECIAL_CHARS=1
UMASK=077
PASSWORD_MAXDAYS=30
PASSWORD_MINDAYS=5
PASSWORD_WARNDAYS=7
The explanation for all the above is given in the man page very clearly.
You cam also see the following link.
http://docs.hp.com/en/B3921-90010/security.4.html
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2005 12:58 AM
03-11-2005 12:58 AM
Re: HPUX Security - Password complexity
On HP-UX 11.0, in order to take advantage of the /etc/default/security settings, the patch PHCO_26089 must be installed. In the later versions patch is not required.Mine is a higher version and I am able to get the functionality without loading this patch.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2006 05:12 PM
05-24-2006 05:12 PM
Re: HPUX Security - Password complexity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2006 01:48 AM
05-25-2006 01:48 AM
Re: HPUX Security - Password complexity
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2006 02:19 AM
05-25-2006 02:19 AM
Re: HPUX Security - Password complexity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2006 11:25 AM
05-25-2006 11:25 AM
Re: HPUX Security - Password complexity
Accounts for users --> Users
Then scroll down to the root user, highlight it by pressing return, then select Actions at the top menu and pick Modify. You may get a warning message so select Yes to continue. Then tab down to Modify Password Options... and make your changes for root.
Bill Hassell, sysadmin