update clean2fa for ipa

This commit is contained in:
Mark O'Brien 2021-04-07 11:40:17 +01:00
parent 8dc5f17b3c
commit 04b4e97cb6

View file

@ -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 <one of the pods above>
```
* Clean the tokens:
```
totpprov delete-user <fas username>
```
* 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.