Operating System - HP-UX
1833846 Members
1976 Online
110063 Solutions
New Discussion

Re: min password length in trusted system

 
fbr
Occasional Contributor

min password length in trusted system

Hi, I want to set a minimal password length in a trusted system. Can someone knows how to help me.
I want to set it to 8 char (the default is 6) The /etc/default/security settings is only for non trustded system o no?
8 REPLIES 8
Robert-Jan Goossens_1
Honored Contributor

Re: min password length in trusted system

Hi,

You can set the following parameter in the /etc/default/security file.

MIN_PASSWORD_LENGTH = 8

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

Robert-Jan
IT_2007
Honored Contributor

Re: min password length in trusted system

you can set it /etc/default/security.

Default is 8 in trusted mode.
fbr
Occasional Contributor

Re: min password length in trusted system

I set this but the minimun lenght remain 6



cat /etc/default/security
MIN_PASSWORD_LENGHT=8

....
....
passwd
....
Do you want (choose one letter only):
pronounceable passwords generated for you (g)
a string of letters generated (l) ?
to pick your passwords (p) ?

Enter choice here: p
New password:
Password too short - must be at least 6 characters


Robert-Jan Goossens_1
Honored Contributor

Re: min password length in trusted system

fbr,

11.0 or 11.11 ?

if you have 11.0, could check if patch PHCO_20334 is installed
fbr
Occasional Contributor

Re: min password length in trusted system

11.11 but the patch isn't installed
Robert-Jan Goossens_1
Honored Contributor

Re: min password length in trusted system

the patch is for 11.0 only, for 11.11 and 11.23 this is default.

I think you made a typo

cat /etc/default/security
MIN_PASSWORD_LENGHT=8

should be

MIN_PASSWORD_LENGTH=8

Regards,
Robert-Jan
fbr
Occasional Contributor

Re: min password length in trusted system

Robert... THANKS!!!!!
fbr
Occasional Contributor

Re: min password length in trusted system

The correct sintax was

MIN_PASSWORD_LENGTH=8

thanks
Robert-Jan