| Index | Top - Up | Data ONTAP 8.2 |
Modify 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
-authmethod <text> - Authentication Method
[-role <text>] - Role Name
[-comment <text>] - Comment Text
The following command modifies a login method that has the user name guest, the application ontapi, and the authentication method password to use the access-control role guest for Vserver vs.
cluster1::> security login modify -username guest -application ontapi -authmethod password -role guest -vserver vs
The following command modifies a login method that has the user name guest, the application ssh, and the authentication method publickey to use the access-control role vsadmin for Vserver vs.
cluster1::> security login modify -username guest -application ssh -authmethod publickey -role vsadmin -vserver vs
| Index | Top - Up | Data ONTAP 8.2 |