aaa authentication password local length

Prev Next

Use this command to configure the minimum or maximum length of a password.

Requiring a minimum or maximum number of characters in a password is a way to establish password strength. These requirements do not apply to passwords that already exist. They are only enforced on plain-text passwords; they are not applied to passwords set as hashed values. For more information, see the Trellix System Security Guide and the System Administration Guide or Administration Guide for your appliance. Sets the maximum number of characters.

Syntax

[no] authentication password local length {minimum | maximum} <number>

Parameters

<term>
no
</term>

Removes the minimum or maximum character length requirement set for the password.

<term>
minimum
</term>

Sets the minimum number of characters required for a password.

<term>
maximum
</term>

Sets the maximum number of characters allowed for a password.

<term>
number
</term>

Specifies the value of the maximum limit or minimum length.

Example

In this example, the minimum password length is set to 8.

hostname (config) # aaa authentication password local length minimum 8

In this example, the maximum password length is set to 20.

hostname (config) # aaa authentication password local length maximum 20

In this example, the maximum password length requirements are removed.

hostname (config) # no aaa authentication password local length minimum

User role

Admin

Supported appliances

This command is supported on the following appliances running the specified releases or later:

  • Malware Analysis: Release 7.1

  • Central Management System: Release 7.2

  • Email Security — Server: Release 7.1

  • File Protect: Release 7.1

  • Endpoint Security (HX): Release 3.0

  • Network Security: Release 7.2

  • Intelligent Virtual Execution - Server: Release 7.9