Index  |  Top  -  Up Data ONTAP 8.2

security login modify

Modify a login method

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The security login modify command modifies the access-control role name of a login method.

Parameters

-vserver <vserver name> - Vserver

This specifies the Vserver name of the login method.

-username <text> - User Name

This specifies the user name of the login method that is to be modified. A user name can be associated with multiple applications.

-application <text> - Application

This specifies the application of the login method. Possible values include console, http, ontapi, rsh, snmp, service-processor, ssh, and telnet.

-authmethod <text> - Authentication Method

This specifies the authentication method of the login method. Possible values include the following:

[-role <text>] - Role Name

This modifies the access-control role name for the login method.

[-comment <text>] - Comment Text

This specifies comment text for the user account, for example, "Guest account". The maximum length is 128 characters.

Examples

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