How to remove a user from 2FA Google authentication on Ubuntu 18.04

This is a quick reference guide on how to remove a user from Google 2FA authentication on Ubuntu 18.04

Simple remove the file .google_authenticator from the users home directory

root@VPS:~# rm /home/vpsuser/.google_authenticator

Remove root from 2FA Authentication is as follows:

root@VPS:~# rm .google_authenticator

Thank you for reading and please feel free to leave any feedback.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s