From 04b4e97cb6961bf8f2f13efb1263f44e9f90a042 Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Wed, 7 Apr 2021 11:40:17 +0100 Subject: [PATCH] update clean2fa for ipa --- clean_2f_tokens.md | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/clean_2f_tokens.md b/clean_2f_tokens.md index 13c00d9..d5957d0 100644 --- a/clean_2f_tokens.md +++ b/clean_2f_tokens.md @@ -1,27 +1,12 @@ -# How to remove 2 factors authentication tokens? +# How to remove 2 factor authentication tokens in IPA -* become root on os-master01 and/or os-master01.stg +* log into `https://id.fedoraproject.org/ipa/ui/` using noggin credentials -* Run the following commands: +* Click on the `Authentication` tab -``` -oc project fas -oc get pods -``` +* Click on the `OTP Tokens` sub tab -* Look for the totpcgi-N-hash pods +* Enter the username into the search bar. This will display a list of tokens associated with the user. -* Log into that pod: - -``` -oc rsh -``` - -* Clean the tokens: - -``` -totpprov delete-user -``` - -* say yes, exit, and repeat for stg/prod as each has their own db. +* Select the desired token and click delete. A popup will appear, click delete again to confirm.