Forcing a password change on first log in using the CLI

Prev Next

You can require users to change their password on their first log in to the system.

For a managed appliance, you can perform this procedure on the Central Management System appliance as well as the local appliance. The procedure remains the same. However, you will need to take the additional step to locate the appliance on the Central Management System CLI. For instructions on locating an appliance on the Central Management System CLI, see the Trellix Central Management System Administration Guide.

Note

This setting affects only users who are created after this change was made. It does not affect users who were created prior to setting this condition, even if those users have not logged in yet.

Prerequisites
  • Admin access

To require new users to change their passwords after their first login:
  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. Enable the requirement:

    hostname (config) # aaa authentication password local require-change new-account
  3. Verify your change:

    hostname (config) # show aaa authentication password
  4. Save your changes:

    hostname (config) # write memory