Skip to main content

Lock and unlock an administrator account

Contributors netapp-ahibbard

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
  1. Lock an administrator account:

    security login lock -vserver SVM_name -username user_name

    The following command locks the administrator account admin1 for the SVM vs1.example.com:

    cluster1::>security login lock -vserver engData -username admin1
  2. Unlock an administrator account:

    security login unlock -vserver SVM_name -username user_name

    The following command unlocks the administrator account admin1 for the SVM vs1.example.com:

    cluster1::>security login unlock -vserver engData -username admin1