Skip to main content
Skip table of contents

How to control OTP from the command line

Overview

The command line tool "VISULOX otp" allows to control the access via One Time Password.

Usage

The following subcommands are available:

CommandDescription
keyCreate a One Time Password key
setAssign the key to users. Validate with current OTP token (-otp).
resetReset One Time Password of the user
checkCheck OTP Config of user and check OTP token

One Time Password elements

ElementDescription
-object <>One Time Password user
-keyCreates a One Time Password key
-otp <>The current token for the One Time Password key
-grant <>Username. Default is <CLI>
With these commands and elements it is possible to create user OTP profiles with the same key for different users. For example if a group of users have the same OTP device / webpage.

Examples

Create OTP key

CODE
visulox otp key
44I6ZJ25DMWD2GIO

Assign the key to a user

CODE
visulox otp set -object <user> -key <otp key> -otp <current otp token>

Check if user has an OTP and if the OTP token is correct

CODE
visulox otp check -object <user> -otp <current otp token>

Reset OTP of a user

CODE
visulox otp reset -object <user>


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.