Setting password complexity



  • On our firewall pfSense 2.01 we need to set password complexity & auto-expiration (this is a requirement for PCI-DSS certification).
    There is nothing in the webgui, so I was thinking of using PAM.
    However, when I set password complexity rules in /etc/pam.d/passwd, this has no effect when using the webgui!
    It works fine when I try to change the password logged in via ssh so the rule in itself is ok. The line in /etc/pam.d/passwd:

    password        requisite   pam_passwdqc.so          min=disabled,disabled,disabled,8,7
    

    Is there any other way to go?



  • You can't hack in PAM like that. Using LDAP for authentication is how nearly all our PCI-certified customers do things. Some use local accounts on the firewall instead. The local admin account will still have to exist, but you just need a policy to manage it accordingly. Basically no firewall (or router, or switch) has forced password complexity requirements nor forced password changes, it's adequate to manually manage those things via your general security practices and policies.


Locked