howtos/clean_2f_tokens.md

28 lines
402 B
Markdown
Raw Permalink Normal View History

# How to remove 2 factors authentication tokens?
* become root on os-master01 and/or os-master01.stg
* Run the following commands:
```
oc project fas
oc get pods
```
* Look for the totpcgi-N-hash pods
* 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.