Knowledgebase

The Two-Factor Authentication command line utility

  • 0

The Two-Factor Authentication command line utility

A command line utility, videx-twofactor, is installed on CyberAudit-Web servers with version 9.4 or later. It may be used to generate a one-time password for a login in the event their authenticator service is not available and they have no backup codes.

It can also disable two-factor authentication for the entire system or for an individual account. This may be needed if a TopLevel administrator fails to enable two-factor authentication for their login by the grace period date. This would allow that administrator to log in, re-enable two factor authentication, and then enable it for their login.

When run at the command line, it provides these instructions.

videx-twofactor is a utility that can:

1. Generate a temporary OTP for a LOGIN:
videx-twofactor -tempcode LOGIN
LOGIN refers to any login for an account
(you will be prompted for an account and TopLevel login/password)

2. Generate a temporary OTP for the manage section:
videx-twofactor -tempcode-manage
(you will be prompted for a manager login/password)

3. Suspend two-factor authentication for an account:
videx-twofactor -disable-account
(you will be prompted for an account and TopLevel login/password)

4. Suspend two-factor authentication for the system:
videx-twofactor -disable-manage
(you will be prompted for a manager login/password

videx-twofactor must be run as root


Was this answer helpful?