Discussion Locked

Can I change the minimum password length

0 helpful
16 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am using Red Hat 8.0 as a workstation, and need to change the minimum required password length from 6 to 5. Looking through the RedHat site, I have found two ways to supposedly do this: (1) use linuxconf - This doesnt work because it appears linuxconf is not installed on the machine. (2) use the command "passwd -L 5" - this doesnt work, because -L is not a supported argument. (a lowecase l is, but that is a different command)
If anyone can help me with this, it would be greatly appreciated.

...Scott

16 replies

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by scottorgan

I just edited my login.defs file, and as you mentioned it was set to 5. I changed it to 4, but it still requires a minimum password length of 6 when I create new users. Thanks anyway.

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

by taisn

Dear Scott

Password length can be controlled by modifying the configuration file found in /etc/login.defs. Search the string "PASS_MIN_LEN 5" which is default for minimum 5 characters, modify it according to your requirements.

Regards

Tahir
Pakistan

This discussion is closed to new replies.