Change password requirements for user accounts

2024/12/2 |

This article describes how to change password requirements for user accounts.

In this article, you will learn how to:

  • Change password requirements for user accounts.

At the end, you will be able to change password requirements for user accounts.

Change password requirements for user accounts

  1. Open PowerShell as administrator and enter the following command to open the Web UI configuration file with the default text editor:

     "C:\Program Files\Lucent Sky\CLEAR Engine\SkyAnalyzer.Engine.exe.config" | Invoke-Item
    
  2. Locate the SqlMembershipProvider element in the system.web\membership section.
  3. Modify the attributes of the SqlMembershipProvider element to change password requirements:

    • maxInvalidPasswordAttempts: the number of failed sign-in attempts before the account is locked. Default is 5.
    • minRequiredPasswordLength: the minimum length of password. Default is 8.
    • passwordAttemptWindow: the duration (in minutes) of account lock due to failed sign-in attempts. Default is 30.

    The following attributes are also available. However, modifying them is not recommended as it may lower the strength of the authenticators.

    • minRequiredNonalphanumericCharacters: the number of non-alphanumeric characters (symbols) required in password. Default is 0.
    • passwordStrengthRegularExpression: the regular expression used to validate the password strength. Default is empty.
  4. In PowerShell, enter the following command to restart CLEAR Engine:

      Stop-Service "CLEAR Engine"; Start-Service "CLEAR Engine"
    
  5. For Lucent Sky AVM cluster, repeat the steps above on each node of the cluster.