# Password settings

### 1. Default password settings for the users

This setting helps system admins enable or disable 2-factor authentication for the users while logging into the system.

<figure><img src="/files/PSsPkgHEZxxhqy950hOq" alt=""><figcaption><p><em>2-factor authentication</em></p></figcaption></figure>

### 2. Account Lockout Policy

*Account lockout policy is* used by system admins to lock out an account when someone tries to log on unsuccessfully several times in a row. The user's account will be locked after the **mentioned number of wrong attempts.** System admin can unblock users from [<mark style="color:purple;">**manage user**</mark>](/user-management/managing-users.md)<mark style="color:purple;">**.**</mark>

<figure><img src="/files/fef05Jwxvqjop8cOJzej" alt=""><figcaption><p><em>Account lockout policy</em></p></figcaption></figure>

### 3. Validate a Password

System Admin can set a default or a custom password validation for its user's accounts.&#x20;

<figure><img src="/files/E3cSe7g87aNM0c90pFHL" alt=""><figcaption><p><em>Dafault Password Regex</em></p></figcaption></figure>

<figure><img src="/files/VcGF9MgHytsC5vPIXtnN" alt=""><figcaption><p><em>Custom Password regex</em></p></figcaption></figure>

### 4. Password Expiry Time

As a System Admin, you can make user passwords expire after a certain number of days, or set passwords to never expire. By default, passwords are set to never expire for your organization.

<figure><img src="/files/qEbsylsaM8WJJVAGjyax" alt=""><figcaption><p><em>Password expiry</em></p></figcaption></figure>

### 5.  Reset the Password

The System admin can enable users to reset their password if all login attempts are exhausted.

<figure><img src="/files/FWJFLb079YAqUVOMKs3Z" alt=""><figcaption><p><em>Reset password</em></p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.senpiper.com/general-system-settings/authentication-settings/password-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
