Change an ONTAP administrator password
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.
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
|
|
You can use the security login role config modify command to modify the password rules for accounts associated with a given role.
|
-
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.
Use System Manager or the ONTAP command line interface (CLI) to change your password.
-
In System Manager, select Cluster > Settings.
-
Under Users and Roles, select Users.
-
Select
next to the user account for which you need to change the password, and then select Change password. -
Enter the new password.
-
Re-enter the new password to confirm it, and then select Save.
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.
-
Change an administrator password:
security login password -vserver svm_name -username user_nameThe following command changes the password of the administrator
admin1for the SVMvs1.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: