1826123 Members
4857 Online
109690 Solutions
New Discussion

/etc/default/security

 
zafar.rizvi
Advisor

/etc/default/security

DEar all

I create the file /etc/default/security in the HP UX but when i create any account it get the password of 4 length but i set length to 8. Why it did't work. hava any idea.
or What steps required to use this password length restriction.
5 REPLIES 5
Sundar_7
Honored Contributor

Re: /etc/default/security

You will need to the convert the system to trusted to enforce these password restrictions.

You could use either SAM or run /usr/lbin/tsconvert.

Learn What to do ,How to do and more importantly When to do ?
Pete Randall
Outstanding Contributor

Re: /etc/default/security

For clarity's sake (from "man security"):

MIN_PASSWORD_LENGTH=N New passwords must contain at least N characters. For untrusted systems N can be any value from 6 to 8.

That does not sound to me like the system has to be trusted.


Pete

Pete
zafar.rizvi
Advisor

Re: /etc/default/security

Dear All
Thanks for the reply.

Now only Min_PASSWORD_LENGTH is working fine in my case. But i want to use it with these options.

PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1

I put that in my security file but these options are not eforcing.....

any idea on that.
Adeel Mehmood
Frequent Advisor

Re: /etc/default/security

Dear All

Yes my problem is solved.

PASSWORD_MIN_UPPER_CASE_CHARS=N
PASSWORD_MIN_LOWER_CASE_CHARS=N
PASSWORD_MIN_DIGIT_CHARS=N
PASSWORD_MIN_SPECIAL_CHARS=N

For above parameters, we need to install PHCO_34214(reboot required), after installing all options start working..

That's Gr8......
Thanks for help.

regards
Zafar
zafar.rizvi
Advisor

Re: /etc/default/security

I got many response on forums.