Force Password Change At First Login

To increase security, it is recommended that the default, factory password be changed immediately. This section describes how to force users, including admin users, to change their login after first successful login. This is not applicable to the root user.

About this task

Perform the following steps to force change of password on first login for all user accounts (admin as well as user).

Procedure

  1. Open a session to access the device.
  2. Log in as admin.
  3. Access global configuration mode.
    device# configure terminal
  4. Configure the setting to force users to change password.
    device(config)# password-attributes force-default-password-change

    When the user logs in for the first time, they will be forced to change their password.