Deleting Accounts in Enhanced Secure Mode

Use the following procedure to delete accounts in enhanced secure mode.

Before you begin

  • You must enable enhanced secure mode in either the JITC or non-JITC sub-modes. As a best practice, use the non-JITC sub-mode because the JITC sub-mode is more restrictive and prevents the use of some troubleshooting utilities.

  • You must be an admin or privilege user to delete accounts.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Delete an account on the switch:

    password delete–user username WORD<1–255>

  3. Save the configuration:

    save config

    Note

    Note

    The save config command saves the configuration file with the filename configured as the primary configuration filename in boot config. Use the command show boot config choice to view the current primary and backup configuration filenames.

Example

Delete an account for jsmith:

Switch:1>enable
Switch:1#configure terminal
Switch:1(config)#password delete-user user-name jsmith
Switch:1(config)#save config

Variable definitions

Use the data in the following table to use the password delete-user command.

Variable

Value

user-name WORD<1–255>

Specifies the user name.