Lock and unlock an ONTAP administrator account
You can use the security login lock command to lock an administrator account, and the security login unlock command to unlock the account.
Before you begin
You must be a cluster administrator to perform these tasks.
Steps
- 
Lock an administrator account:
security login lock -vserver SVM_name -username user_nameThe following command locks the administrator account
admin1for the SVMvs1.example.com:cluster1::>security login lock -vserver engData -username admin1
Learn more about
security login lockin the ONTAP command reference. - 
Unlock an administrator account:
security login unlock -vserver SVM_name -username user_nameThe following command unlocks the administrator account
admin1for the SVMvs1.example.com:cluster1::>security login unlock -vserver engData -username admin1
Learn more about
security login unlockin the ONTAP command reference. 
Related information