Configuring a password for a specific user
Configure a new password for a user if the password has expired or locked. Only the administrator can configure a password for a user.
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.
Procedure
Example
Configure a password for jsmith:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#password set–password user-name jsmith Enter the New password : ********************* Switch:1(config)#Password modified for user jsmith Switch:1(config)#save config
Variable definitions
Use the data in the following table to use the password set-password command.
Variable |
Value |
---|---|
user-name WORD<1–255> |
Specifies the user for which to configure the password. |