--- title: "Preventing a password from matching the username using the CLI" slug: "preventing-a-password-from-matching-the-username-using-the-cli-1" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-09-01T19:03:12Z published: 2026-09-01T19:03:12Z canonical: "docs.trellix.com/preventing-a-password-from-matching-the-username-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Preventing a password from matching the username using the CLI By default, users can select a password that is the same as their username. For stricter password security, you can prevent this by using a form of the `aaa authentication password` command. To remove the restriction on matching password to username, use the "no" form of the command. For a managed appliance, you can perform this procedure on the Central Management System appliance as well as the local appliance. The procedure remains the same. However, you will need to take the additional step to locate the appliance on the Central Management System CLI. For instructions on locating an appliance on the Central Management System CLI, see the *Trellix Central Management System Administration Guide*. Prerequisites - Admin access To prevent a matching username and password: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Prevent users from using their username as a password: ``` hostname (config) # aaa authentication password local no-userid ``` 3. Verify your change: ``` hostname (config) # show aaa authentication password ``` 4. Save your changes: ``` hostname (config) # write memory ``` ### Example See [Example: configuring password validation policies](/docs/example-configuring-password-validation-policies). :