How to disable 2fa? #1377
Replies: 1 comment
|
@regQuery0101 The typical steps are:
sudo nano /etc/pam.d/cockpit
or
sudo systemctl restart cockpitAfter that, Cockpit should authenticate using your normal Linux username and password again. :contentReference[oaicite:1]{index=1} If you no longer intend to use Google Authenticator at all, you can also remove the per-user secret file: rm ~/.google_authenticatorand, if desired, uninstall the PAM module: sudo apt remove libpam-google-authenticator(Only do this if you're sure you won't be using 2FA for SSH or any other PAM-enabled service.) :contentReference[oaicite:2]{index=2} One question to help narrow this down:
If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
Hi people,
i enabled 2fa but it doesn't work
now I want to deactivate
so it doesn't ask for the key in the cockpit
All reactions