# Account lockout threshold policy management

To prevent brute force attacks, if several sign-in attempts fail (default: 5), the user account is locked for several minutes (default: 2 minutes).

You can control these default values using the GUI or the CLI.

**Related topics**

[manage-the-account-lockout-threshold-policy-using-gui](https://docs.weka.io/4.2/usage/security/account-lockout-threshold-policy-management/manage-the-account-lockout-threshold-policy-using-gui "mention")

[manage-the-account-lockout-threshold-policy-using-cli](https://docs.weka.io/4.2/usage/security/account-lockout-threshold-policy-management/manage-the-account-lockout-threshold-policy-using-cli "mention")
