Page MenuHomePhabricator

Lost 2F auth for Amitie_10g
Closed, ResolvedPublic

Description

Hello,

Once again, I lost the 2F access by Google Authenticator, to access Wikitech wiki. I need the 2F be reseted.

Thanks.

Event Timeline

Reedy subscribed.

Previous task is T163931

Can I ask, why you didn't save the recovery/scratch tokens for a second time?

Previous task is T163931

Can I ask, why you didn't save the recovery/scratch tokens for a second time?

I forgot to save the scratch codes, and my previous phone has been stolen.

bd808 triaged this task as Medium priority.
bd808 subscribed.

@Amitie_10g let's use the ssh based verification process to fix this. Please create a $HOME/2fa.txt file on any Cloud VPS or Toolforge server you have access to with the content "T232518" and then report back here the exact host (hostname -f) and directory (pwd) that you used. I can verify that using my Cloud VPS root powers and then proceed to disable your current 2FA protection on Wikitech.

Sorry for the delay. Below are the hostname and directory:

tools-sgebastion-07.tools.eqiad.wmflabs
/data/project/webarchivebot

Thanks.

Sorry for the delay. Below are the hostname and directory:

tools-sgebastion-07.tools.eqiad.wmflabs
/data/project/webarchivebot

Thanks.

Normally I would not accept a file under a tool's $HOME as validation, but https://tools.wmflabs.org/admin/tool/webarchivebot shows that Amitie 10g is the only maintainer of this tool so I'll go with it.

$ ssh tools-sgebastion-07.tools.eqiad.wmflabs
$ sudo ls -lh /data/project/webarchivebot/2fa.txt
-rw-r--r-- 1 tools.webarchivebot tools.webarchivebot 8 Sep 11 20:23 /data/project/webarchivebot/2fa.txt
$ sudo cat /data/project/webarchivebot/2fa.txt
T232518
$ exit
$ ssh labweb1001.wikimedia.org
$ mwscript extensions/OATHAuth/maintenance/disableOATHAuthForUser.php --wiki=labswiki 'Amitie 10g'
OATHAuth disabled for Amitie 10g.