Forked from luckydev/gist:ed966a7c12fd4b1311c063b77dc81389
Created
February 15, 2023 11:09
-
-
Save mrudul-honorfx/6f576d440101498944cbd8683f64eb53 to your computer and use it in GitHub Desktop.
Reset Google authenticator token (2FA) for a specific openvpn user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH Login as openvpnas user | |
$ ssh openvpnas@<open-vpn-server-ip> | |
$ cd /usr/local/openvpn_as/scripts/ # Go to OpenVPN AS Scripts directory | |
$ sudo ./sacli --user USERNAME GoogleAuthRegen # Replace USERNAME with username to get a new Google Authenticator Secret | |
Source: https://forums.openvpn.net/viewtopic.php?t=15366 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment