Skip to main content

Change an ONTAP administrator password

Contributors netapp-aaron-holt netapp-aherbin netapp-ahibbard netapp-dbagwell netapp-bhouser

You should change your initial ONTAP administrator password immediately after you log in for the first time, and periodically afterward, to help keep your cluster secure.

Beginning with ONTAP 9.20.1, if your user account is configured for password expiry alerts, System Manager displays a banner alert starting 14 days before your password expires. The alert updates each time you log in to show the number of days remaining.

About this task

The new password must observe the following rules:

  • It cannot contain the user name

  • It must be at least eight characters long

  • It must contain at least one letter and one number

  • It cannot be the same as the last six passwords

Note You can use the security login role config modify command to modify the password rules for accounts associated with a given role.
Before you begin
  • You must be a cluster or SVM administrator to change your own password.

  • You must be a cluster administrator to change another administrator's password.

Steps

Use System Manager or the ONTAP command line interface (CLI) to change your password.

System Manager
  1. In System Manager, select Cluster > Settings.

  2. Under Users and Roles, select Users.

  3. Select Menu next to the user account for which you need to change the password, and then select Change password.

  4. Enter the new password.

  5. Re-enter the new password to confirm it, and then select Save.

CLI

If you are an SVM administrator, you can use the security login password command to change your own password. If you are a cluster administrator, you can use the security login password command to change any administrator's password.

  1. Change an administrator password: security login password -vserver svm_name -username user_name

    The following command changes the password of the administrator admin1 for the SVM vs1.example.com. You are prompted to enter the current password, then enter and re-enter the new password.

    vs1.example.com::>security login password -vserver engData -username admin1
    Please enter your current password:
    Please enter a new password:
    Please enter it again: