Operating System - Linux
1826498 Members
1896 Online
109692 Solutions
New Discussion

Re: Setting password length.

 
SOLVED
Go to solution
Mark Wolf_2
Advisor

Setting password length.

SuSE SLES 9. By default the password length is set to a max length of 8 character, I need to increase this value. Where is the config file located to set this value?

Mark
5 REPLIES 5
Michael Jorgensen
Esteemed Contributor
Solution

Re: Setting password length.

Did a quick google, try:

Modifying /etc/login.defs and change the value of PASS_MAX_LEN to whatever you want.
Arunvijai_4
Honored Contributor

Re: Setting password length.

You need to change PASS_MAX_LEN in /etc/login.defs.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
VEL_1
Valued Contributor

Re: Setting password length.

Hi,

The following link will give detailed information:

http://www.comptechdoc.org/os/linux/howlinuxworks/linux_hlshadow.html

Muthukumar_5
Honored Contributor

Re: Setting password length.

/etc/login.defs file will be configuration for login details. You can set passwd length with maximum using,

PASS_MAX_LEN - Maximum Passwd length

Edit the file /etc/login.defs and save it. It will be activated for next login.

hth.
Easy to suggest when don't know about the problem!
Mark Wolf_2
Advisor

Re: Setting password length.

All of the responses were spot on. I gave points to the first person that responded. Thanks to everyone for the help.....Next time I might remember to google for the answer;-)