The files that contain the settings we're going to look at will be:
- /etc/pam.d/common-password on Debian-base systems
- /etc/security/pwquality.conf on RedHat
https://www.networkworld.com/article/2726217/how-to-enforce-password-complexity-on-linux.html
Complexity settings en Passwords en Linux
Here's how it works. You can set a minimum password length to insure strength, but this might not work exactly as you’d expect. In fact, passwords with the most characters aren't necessarily the most secure or easy to use and remember. In fact your users can set themselves up with shorter passwords that are just as secure if they incorporate certain restrictions and categories of characters that make them harder to crack and get credit for doing so.
Here are complexity settings you can require in addition to length:
- uppercase characters
- lowercase characters
- digits
- other characters (e.g., punctuation marks)
- a mix of the above
- a restriction on the number of characters in any particular class (uppercase, lowercase, etc.)
- a restriction on how many times the same character can be used
- the number of characters that have to be different from those used in the previous password
- restrictions on password re-use
No hay comentarios:
Publicar un comentario