In a recent audit exercise, we were asked to enforce a password policy where all passwords must:
- have 25 chars
- have capital and small letters, numbers and special characters
This is much stricter than the default policy in MS SQL Server. I couldn't find any articles that talks about modifying the policy so I assume this has to be enforced manually.
Is there anyway where I could run a query to output all the accounts (Windows/SQL logins) where password is non-compliant?
If possible, I would also love to construct a query where I can perform rotation on them.