Content Component 26.3
Content Component Help

# Set User Name and Password Restrictions

You can specify certain restrictions on user account names and passwords to ensure that it is difficult to gain unauthorized access.

To configure user account name and password restrictions

1. Open the Community component configuration file in a text editor.

2. Find the `[User]` section, or create one if it does not exist.

3. Set the `MinUsernameLength` parameter to the minimum number of characters allowed for user names. For example:

       MinUsernameLength=6

4. Set the `MinPasswordLength` parameter to the minimum number of characters allowed for passwords. For example:

       MinPasswordLength=6

5. Set the `PasswordStrength` parameter to the minimum allowed strength of passwords. This parameter uses a scale from 1 (weakest) to 10 (strongest). For example:

       PasswordStrength=6

   To increase password strength, users must create passwords that contain a mixture of upper- and lowercase letters, numbers, and punctuation.

   TIP: You can also create custom password strength requirements (or use an external Web service) by creating a Lua script. In this case, you must set the `UserLuaScript` configuration parameter to the path to the script to use. The script must define the `password_complexity_check` function, which Community calls to check the password rules. In this case, Community uses the Lua script, and then also checks the password against your `PasswordStrength` criteria (if set).

   For more information, refer to the Community component Reference.

6. Save and close the configuration file.

7. Restart the Community component for your changes to take effect.

Copyright 2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.3

Topic Title: Set User Name and Password Restrictions