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.
  3. hostname (config) # analysis custom password add <password>

  4. Verify that the specified password is added to a custom password blacklist.
  5. hostname (config) # show analysis custom password

  6. 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.
  3. hostname (config) # analysis custom password delete <password>

  4. Verify the status of the custom password configuration.
  5. hostname (config) # show analysis custom password

  6. 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