1823118 Members
3237 Online
109646 Solutions
New Discussion юеВ

Minimum password length

 
Bolek Mynarski
Frequent Advisor

Minimum password length

I am running in this particular case on HP-UX 10.20 trusted system. I have to say that some of the "features" are quite obscure (like PASSWORD_HISTORY_DPETH or MIN_PASSWORD_LENGTH found in the file /etc/default security), meaning, they are not available right off the SAM menu. Only after some digging around I was able to find them. However, I've been presented with the following problem and if I am correct, I think, I cannot do this.

Our policy requires that our users will have their password set to a minimum of at least 6 characters in length and priveledged accounts to 8. I can do this globally via /etc/default/security file but how about on individual bases?

Thanks.
It'snever too late to learn new things...
6 REPLIES 6
Christopher McCray_1
Honored Contributor

Re: Minimum password length

Hello,

The minimum passwd length is 6 by default. I don't know of any way but globally to set the minimum to 8 by using the MIN_PASSWORD_LENGTH variable in /etc/default/security. Look on the bright side, even non-priveleged accounts will have higher security.

Hope this helps

Chris
It wasn't me!!!!
A. Clay Stephenson
Acclaimed Contributor

Re: Minimum password length

As you have discovered, the changes are global. Whenever I've had to do things similar to this (even on non-trusted systems), I've wound up coding a replacement for passwd and yppasswd so that I could incorporate whatever policies the company desired.


If it ain't broke, I can fix that.
Peter Kloetgen
Esteemed Contributor

Re: Minimum password length

Hi,

the password lenght is set to at least 6 characters. Also it must contain at least two alphabetic characters and at least one special character or one number. Only the first 8 characters of a password are checked by default.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Marty Metras
Super Advisor

Re: Minimum password length

Thanks Chris
I wondered about changing the Global password length.
Marty
The only thing that always remain the same are the changes.
K.Vijayaragavan.
Respected Contributor

Re: Minimum password length

Hi,

For maximum password length setting for selected users,

we can do it from "sam" as follows,
sam>
accounts for users and groups>
users>
select required user and highlight the line>
actions>
modify security policies>
password format policies>
maximum password length.

here set the desired legth.

-Vijay
"Let us fine tune our knowledge together"
Marty Metras
Super Advisor

Re: Minimum password length

Chris Wrote "...set the minimum to 8 by using the MIN_PASSWORD_LENGTH variable in /etc/default/security."

I have HP-UX 11.0. I'm not running a trusted system. "/etc/default/security" does not exist.

Where do you set the globla password length in this case?
Marty
The only thing that always remain the same are the changes.