---
title: Modifying an existing password policy
description: Modify an existing password policy to meet your company's requirements.
component: pingdirectory
version: 11.0
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_modify_password_policy
canonical_url: https://docs.pingidentity.com/pingdirectory/11.0/pingdirectory_server_administration_guide/pd_ds_modify_password_policy.html
revdate: September 13, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
  example: Example:
---

# Modifying an existing password policy

Modify an existing password policy to meet your company's requirements.

## About this task

|   |                                                                                                                    |
| - | ------------------------------------------------------------------------------------------------------------------ |
|   | Keep your password policies synchronized across all PingDirectory servers and PingDirectoryProxy server instances. |

To modify the configuration for any defined password policy:

## Steps

* Choose one of the following methods:

  ### Choose from:

  * Run the `dsconfig` tool in interactive or non-interactive mode.

  * Use the admin console.

    ### Example:

    The following example sets some of the properties presented in the previous section for the default password policy using `dsconfig`.

    ```shell
    $ bin/dsconfig set-password-policy-prop \
      --policy-name "Default Password Policy" \
      --set "max-password-age:90 days" \
      --set "password-expiration-warning-interval:14 days" \
      --set "lockout-failure-count:3" \
      --set "password-history-count:6"
    ```
