1. Home
  2. Documentation
  3. WP Admin Audit
  4. Settings
  5. User accounts
  6. Enforce periodic password changes

Enforce periodic password changes

You can enable a policy that requires users (with certain roles) to regularly change their passwords.
For example, administrator accounts can be required to change their passwords at least every 90 days.
WP Admin Audit will also send out notifications in advance to let the user know that a mandatory password change is coming up.

Should the user fail to change the password before the time period is up, the user can only login again after changing (and/or resetting) the password.

Here is how you set this up for your WordPress users.

Enable password change policy

In this example, we want Administrator accounts to change their passwords at least every 90 days.

  • Open the settings in WP Admin Audit
    WP Admin Audit settings
  • Select the “User accounts” tab
    WP Admin Audit - User accounts settings (tab)
  • Enable the checkbox to enforce periodic password changes
    WP Admin Audit - User accounts settings - Enable the enforcement of periodic password changes
  • Define how often the password needs to be changed. Provide as the number of days.
    In our example, we want passwords to be at least changed every 90 days.
    WP Admin Audit - User accounts settings - Enforce periodic password changes every X days
  • Select all user roles in scope for the password policy.
    In our example, we choose WordPress’ Administrator user role. You can of course also choose multiple roles here.
    WP Admin Audit - User accounts settings - Choose roles for which to enforce the password policy
  • Now select the notifications to be sent prior to the password expiring.
    This warns the user of the soon-to-expire password.
    In our example, we send up to three notifications: 30, 7, and one day ahead.
    WP Admin Audit - User accounts settings - Send notifications to periodically change the WordPress user password
  • Make sure to save the settings

Check the date of the last password change

While enforcement of periodic password changes is great tool to implement a respective IT-security policy, you may choose to also do manual audits of WordPress user and admin accounts. This is where the User Audit view of the user details is very helpful.

WordPress user audit
The user details view provides the date of the last password change of the WordPress user
Was this article helpful to you? No Yes

How can we help?