From 8be806683e9b8f26133f5e60cb6d214cbb13b9c3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Tue, 18 Feb 2020 09:58:13 +0100 Subject: [PATCH] Document how to clean 2f auth tokens Signed-off-by: Pierre-Yves Chibon --- clean_2f_tokens.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 clean_2f_tokens.md diff --git a/clean_2f_tokens.md b/clean_2f_tokens.md new file mode 100644 index 0000000..13c00d9 --- /dev/null +++ b/clean_2f_tokens.md @@ -0,0 +1,27 @@ +# 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 +``` + +* Clean the tokens: + +``` +totpprov delete-user +``` + +* say yes, exit, and repeat for stg/prod as each has their own db. +