How to set password policy

when run openvas-check-setup --v9 ,show a warning and suggst:
Step 3: Checking user configuration …
WARNING: Your password policy is empty.
SUGGEST: Edit the /etc/openvas/pwpolicy.conf file to set a password policy.

How to correct edit the pwpolicy.conf.Thanks

It’s not required to set a password policy. It’s only a warning.

To configure the password policies just take a look at the source file at https://github.com/greenbone/gvm/blob/master/src/pwpolicy.conf It contains explanations and examples.

1 Like