From 70f393ad5883763a71ac04df381e4d315373ee11 Mon Sep 17 00:00:00 2001 From: Mark O'Brien Date: Thu, 8 Apr 2021 11:24:34 +0100 Subject: [PATCH] clean2fa: add cli instructions --- clean_2f_tokens.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/clean_2f_tokens.md b/clean_2f_tokens.md index d5957d0..f26ad56 100644 --- a/clean_2f_tokens.md +++ b/clean_2f_tokens.md @@ -1,4 +1,4 @@ -# How to remove 2 factor authentication tokens in IPA +# How to remove 2 factor authentication tokens in IPA using ui * log into `https://id.fedoraproject.org/ipa/ui/` using noggin credentials @@ -10,3 +10,13 @@ * Select the desired token and click delete. A popup will appear, click delete again to confirm. +# How to remove 2 factor authentication tokens in IPA using cli + +* kinit as user with admin privileges on ipa server + +* Run `ipa otptoken-find --owner=` + +* A list of the users otp tokens will be displayed. Copy `Unique ID` vlaue of the desired token + +* Run `ipa otptoken-del `. The token is now removed +