Force Password Change At First Login

Perform the following steps to force change of password on first login for all user accounts (admin as well as user).
  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.