| Index | Top - Up | Data ONTAP 8.2 |
Add a login method
Availability: This command is available to cluster administrators at the admin privilege level.
-vserver <vserver name> - Vserver
-username <text> - User Name
-application <text> - Application
Setting this parameter to service-processor grants the user access to the Remote LAN Module (RLM) or the Service Processor (SP), if it is available on the system. Because the RLM and the SP support only password authentication, when you set this parameter to service-processor, you must also set the -authmethod parameter to password. Vserver user accounts cannot access the RLM or the SP. Therefore, you cannot use the -vserver parameter when you set this parameter to service-processor.
-authmethod <text> - Authentication Method
-role <text> - Role Name
[-comment <text>] - Comment Text
The following command creates a login that has the user name monitor, the application ssh, the authentication method password, and the access-control role guest for Vserver vs.
cluster1::> security login create -username monitor -application ssh -authmethod password -role guest -vserver vs
The following command creates a login that has the user name monitor, the application ontapi, the authentication method password, and the access-control role vsadmin for Vserver vs.
cluster1::> security login create -username monitor -application ontapi -authmethod password -role vsadmin -vserver vs
The following command creates a login that has the user name monitor, the application ssh, the authentication method publickey, and the access-control role guest for Vserver vs.
cluster1::> security login create -username monitor -application ssh -authmethod publickey -role guest -vserver vs
The following command creates a login that has the user name monitor, the application http, the authentication method cert, and the access-control role admin for Vserver cluster.
cluster1::> security login create -username monitor -application http -authmethod cert -role admin -vserver cluster
The following command creates a login that has the user name monitor in DOMAIN1, the application ssh, the authentication method domain, and the access-control role vsadmin for Vserver vs.
cluster1::> security login create -username DOMAIN1\monitor -application ssh -authmethod domain -role vsadmin -vserver vs
The following command creates a login that has a login name monitor in the LDAP or NIS server, the application ssh, the authentication method nsswitch, and the access-control role vsadmin for Vserver vs.
cluster1::> security login create -username monitor -application ssh -authmethod nsswitch -role vsadmin -vserver vs
| Index | Top - Up | Data ONTAP 8.2 |