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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 10 2019, 7:02 PM
Reedy added a subscriber: Reedy.

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 claimed this task.Sep 10 2019, 9:35 PM
bd808 triaged this task as Medium priority.
bd808 added a subscriber: bd808.

@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.

bd808 closed this task as Resolved.Sep 11 2019, 8:38 PM

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.