Operating System - HP-UX
1833758 Members
2585 Online
110063 Solutions
New Discussion

password policy for HPUX11.11

 
SOLVED
Go to solution
Asif Sharif
Honored Contributor

password policy for HPUX11.11

HI All,

I want to set the password policy for each user in HPUX 11i without using TRUST-SYSTEM mode with following settings:

Characters in passwords are broken into 5 categories:

1.Password must be of eight characters
2.Upper-case alphabet
3.Lower-case alphabet
4.Numericals
5.Special Characters ($ % _ - etc)


Regards,

Asif Sharif
Regards,
Asif Sharif
6 REPLIES 6
RAC_1
Honored Contributor

Re: password policy for HPUX11.11

Converting system to trusted mode is good thing and offers much wider choice. Without it you are restricted to handful of restrictions you can implement.
Look at man 4 security.

You will have to put in /etc/default/security file.

man 4 security for details.
There is no substitute to HARDWORK
Joseph Loo
Honored Contributor

Re: password policy for HPUX11.11

hi,

refer to this:

http://docs.hp.com/en/B2355-60103/security.4.html

or man security.

regards.
what you do not see does not mean you should not believe
Bharat Katkar
Honored Contributor

Re: password policy for HPUX11.11

HI Asif,
You can think of trusted system as well. That will be more conveneint.
Find attached doc on tcb and see if that is feasible.
Regards,
You need to know a lot to actually know how little you know
Muthukumar_5
Honored Contributor
Solution

Re: password policy for HPUX11.11

You have to use /etc/default/security file this requirement.

Tune this settings as,

MIN_PASSWORD_LENGTH=8 PASSWORD_MIN_UPPER_CASE_CHARS= PASSWORD_MIN_LOWER_CASE_CHARS= PASSWORD_MIN_DIGIT_CHARS= PASSWORD_MIN_SPECIAL_CHARS=

Specify your setting in that file and save it.

Refer security man page for details.

hth.
Easy to suggest when don't know about the problem!
Asif Sharif
Honored Contributor

Re: password policy for HPUX11.11

Hi All,

After configuring this file,

# cat security
PASSWORD_HISTORY_DEPTH=3
MIN_PASSWORD_LENGTH=8
PASSWORD_PASSWORD_LENGTH=9
PASSWORD_MIN_UPPER_CASE_CHARS=1
PASSWORD_MIN_LOWER_CASE_CHARS=1
PASSWORD_MIN_DIGIT_CHARS=1
PASSWORD_MIN_SPECIAL_CHARS=1
#

My problem has been solved.Thanks a lot every one for being help.

Thanks and regards

Asif Sharif
Regards,
Asif Sharif
Asif Sharif
Honored Contributor

Re: password policy for HPUX11.11

Problem has been solved. Thanks all for helping.

Regards,

Asif Sharif
Regards,
Asif Sharif