ONTAP 9 Manuals ( CA08871-402 )

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
  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

    Learn more about security login lock in the ONTAP command reference.

  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

    Learn more about security login unlock in the ONTAP command reference.

Related information
Top of Page