--- title: "Adding or deleting a custom password using the CLI" slug: "adding-or-deleting-a-custom-password-using-the-cli-1" updated: 2026-09-08T23:22:51Z published: 2026-09-08T23:22:51Z canonical: "docs.trellix.com/adding-or-deleting-a-custom-password-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. # Adding or deleting a custom password using the CLI Use the CLI commands in this topic to add a password to a custom password blacklist or to delete a password from a custom password blacklist. You can add up to 500 custom password entries to the appliance database. ### Note The password "Infected" is automatically added to a password blacklist on the appliance database. To add passwords to a custom password blacklist: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the password to add to a custom password blacklist. `hostname (config) # analysis custom password add <password>` 3. Verify that the specified password is added to a custom password blacklist. `hostname (config) # show analysis custom password` 4. Save your changes. ``` hostname (config) # write memory ``` ### Examples This example adds the password "password123" to a custom password blacklist: ``` hostname (config) # analysis custom password add password123 hostname (config) # show analysis custom password Infected   password123 ------------------------------------- Total number of custom passwords = 2         ``` To delete passwords from a custom password blacklist: 1. Go to CLI configuration mode. ``` hostname > enable hostname # configure terminal ``` 2. Specify the password to delete from a custom password blacklist. `hostname (config) # analysis custom password delete <password>` 3. Verify the status of the custom password configuration. `hostname (config) # show analysis custom password` 4. Save your changes. ``` hostname (config) # write memory ``` Examples This example deletes the password "password123" from a custom password blacklist: ``` hostname (config) # analysis custom password delete password123 hostname (config) # show analysis custom password Infected ------------------------------------- Total number of custom passwords = 1 ``` :