
But still, if any of them will leave the company – we will have to re-generate the code and update it on all devices… Not too good, hah?Īnother solution to share a TOTP could be using Bitwarden and its TOTP-codes field. Bitwarden Secrets Manager is designed to centrally secure and manage highly sensitive authentication credentials within privileged developer and DevOps environments. To do this – they all can configure their own Authentificatior application with the same code during an initial MFA configuration in the Google Account. Each website that supports TOTPs or two-factor authentication (2FA) with an authenticator handles. Afterwards disabling the app is safe.When using an MFA for an email account you can face an issue when the same mail account may be used by multiple team members and each of them needs to have the MFA configured.įor example, we have a mailbox and I’d like to set up an MFA protection on it with Google Authenticator (see the Authy: step by step Multi-Factor Authentication configuration for Github and AWS).īut this box is used by other people so I need to have a way to share TOTOP with all of them. Bitwarden Authenticator (TOTP) Generate TOTP codes. This will loop through all users and disable TOTP for them. Here are code lines, which should help you automate that (modify the path to match your environment if needed):įirst, run the following command and check if these are the correct user names (just because I don’t know all possible syntax for user names and right now I assume there are no spaces in usernames, but better check that first!): for USER in `sudo -u www-data php /var/www/nextcloud/occ user:list | awk '' | tr -d ':'` do sudo -u www-data php /var/www/nextcloud/occ twofactorauth:disable "$USER" done In case you cannot login for all users and manually disable it via web gui, you can still do it via occ command. It can be uninstalled and removed, but first after it has been disabled for all users.


Does it means that once I stalled, it can never be uninstalled? (Or removed?) Another solution to share a TOTP could be using Bitwarden and its TOTP-codes field.
