Page MenuHomePhabricator

Account recovery help needed for Developer account [Hassan.m.amin]
Closed, ResolvedPublic

Description

I lost my phone and have lost my 2FA token for logging into Wikitech and Toolsadmin using my Developer account. Please disable 2FA on my account so that I can continue using my Developer account. I already have access the ssh private key associated with the account if that can help in the verification process

Event Timeline

Can you follow the following to upload a verification file to the bastion?

$ ssh bastion.wmflabs.org
$ cd $HOME
$ touch 2fa-reset-request.txt
$ chmod 0600 2fa-reset-request.txt
$ echo "https://phabricator.wikimedia.org/[YOUR PHABRICATOR TASK NUMBER]" > 2fa-reset-request.txt
$ echo "$(hostname -f):$(pwd)/2fa-reset-request.txt"

Once this is done, please post the output of the last command in this task, so we can proceed with the 2FA removal request.

@Urbanecm

Proceeded with the steps successfully, here's the output of the last command

bastion-eqiad1-01.bastion.eqiad.wmflabs:/home/hassanamin/2fa-reset-request.txt

Thanks! @bd808, can you review this please? Thanks!

bd808 claimed this task.
bd808 moved this task from Inbox to Clinic Duty on the cloud-services-team (Kanban) board.
$ ssh root@bastion-eqiad1-01.bastion.eqiad.wmflabs
$ ls -lh /home/hassanamin/2fa-reset-request.txt
-rw------- 1 hassanamin wikidev 42 Feb 20 15:19 /home/hassanamin/2fa-reset-request.txt
$ cat /home/hassanamin/2fa-reset-request.txt
https://phabricator.wikimedia.org/T275222
$ mwscript extensions/OATHAuth/maintenance/disableOATHAuthForUser.php --wiki=labswiki 'Hassan.m.amin'
OATHAuth disabled for Hassan.m.amin.