You use the security login and security snmpusers commands to manage user accounts.
|If you want to...||Use this command...|
|Create a login method for user access of the cluster or an SVM with a supported application type or authentication method||security login create|
|Display information about user accounts created for accessing the cluster or an SVM||security login show|
|Display the user account that is used for logging in to the cluster in the current console or SSH session||security login whoami|
|Display information about SNMP users||security snmpusers|
|Modify the access-control role of a user's login method created for accessing the cluster or an SVM||security login modify
Note: It is best to use a single role for all access and authentication methods of a user account.
|Delete a user login method created for accessing the cluster or an SVM||security login delete|
|Change a user password||security login password
Note: When you change the password of your own user account, Data ONTAP prompts you to enter your old password first. If you do not have the old password, you can ask another cluster administrator of the "admin" role to run this command to reset your password.
|Lock a user account||security login lock
Note: Data ONTAP requires that at least one cluster user account with the "admin" role capability and the console application type remain unlocked.
|Unlock a user account||security login unlock|
|Specify a CIFS-enabled Storage Virtual Machine (SVM) that you want to use as the tunnel for authenticating Active Directory domain users' cluster access||security login domain-tunnel create|
|Modify the tunnel that is used for Active Directory domain user authentication||security login domain-tunnel modify|
|Display the tunnel that is used for Active Directory domain user authentication||security login domain-tunnel show|
|Delete the tunnel that is used for Active Directory domain user authentication||security login domain-tunnel delete|