Operating System - HP-UX
1844093 Members
2491 Online
110227 Solutions
New Discussion

Re: /etc/default/security

 
Mani Pushpanathan
Occasional Contributor

/etc/default/security

I've created this file with the following parameter:

MIN_PASSWORD_LENGTH=7

However this does not seem to take effect whether I do it in the command line or in sam. did I miss out any step?
3 REPLIES 3
Robert-Jan Goossens
Honored Contributor

Re: /etc/default/security

Hi,

Check this doc,

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065679666

How to force users to use a minimum password length? DocId: KBRC00005221

Regards,
Robert-Jan.
Lee Huei
Regular Advisor

Re: /etc/default/security

Is your system a trusted system or non-trusted ?

On trusted systems, this parameter will require users to use a password with at
least 8 characters.

On an untrusted system, passwords of non-root users must have at least six characters

If your system is on trusted, setting the passwod length to 7 will not work.