Skip to main content

security login totp modify

Contributors
Suggest changes

Modify a TOTP status

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

Description

The security login totp modify command modifies the TOTP status. Only admin can modify the TOTP status and it requires that you enter a user name and enabled

Parameters

-vserver <vserver name> - Vserver

This parameter optionally specifies the Vserver of the user for whom you are modifying the TOTP status or comment.

-username <text> - Username

This parameter specifies the name of the user for whom you are modifying the TOTP status.

[-enabled {true|false}] - TOTP Status

This parameter specifies the TOTP status of the user for whom you are modifying.

[-comment <text>] - Comment

This optionally specifies comment text for the TOTP key. Note that comment text should be enclosed in quotation marks.

Examples

The following command disable the TOTP for the user named tsmith for Vserver vs1.

cluster1::> security login totp modify -vserver vs1 -username tsmith -enabled false