Adding or deleting a custom password using the CLI

Prev Next

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