Page MenuHomePhabricator

Replace SSH key for mholloway
Closed, ResolvedPublic

Description

I recently received my primary laptop back after repairs (see T95506 for background) and have deleted my SSH keys from the loaner laptop (private key deleted securely) and created a new SSH keypair. Could you please revoke the existing key and add my new public key (P1917) to my account (user mholloway-shell)? Thanks!

Event Timeline

Mholloway raised the priority of this task from to Needs Triage.
Mholloway updated the task description. (Show Details)
Mholloway moved this task to Untriaged on the SRE-Access-Requests board.
Mholloway subscribed.

Change 233582 had a related patch set uploaded (by Matanya):
access: update key for Mholloway

https://gerrit.wikimedia.org/r/233582

@Mholloway Could you login on phabricator with your (WMF) wiki account? On first login that will be associated with this Phabricator account and will confirm it's you.

I managed to create a new Phab user account associated with my WMF wiki account, then about 30 seconds later find the setting I should have used to associate my WMF wiki account with this one. I don't appear to have the option of deleting the new Phab account. Nor would it let me simply disassociate my wiki account without first adding a different one, so I added my personal wiki account (Mhollo) to that one, and still I am unable to disassociate my WMF wiki account from that Phab user to add to this one, because now that I have more than one MediaWiki account associated with it, this happens when I try to remove one of them:

Screen Shot 2015-08-24 at 9.53.43 PM.png (800×1 px, 314 KB)

Aklapper added a subscriber: Unknown Object (User).Aug 25 2015, 11:27 AM

Could you login on phabricator with your (WMF) wiki account? On first login that will be associated with this Phabricator account and will confirm it's you.

Linking to documentation (all centrally at [[mw:Phabricator/Help]]) recommended. https://www.mediawiki.org/wiki/Phabricator/Help#Creating_your_account_and_notifications under "Advanced" explains how to avoid creating two separate Phabricator accounts.

This now needs database action. Delete @Mdholloway and leave @Mholloway. For a similar past example (and related SQL) see T75720#1488655.

akosiaris set Security to None.

so

select * from user where userName='Mdholloway';

does return indeed a user. I am hesitant though to run the delete since no table in that database has ON DELETE CASCADE and I can only assume this will leave garbage in many of the other tables.

There is a command line tool to delete a user, rather than doing it in sql

@akosiaris: I can do the deletion if you'd prefer. But the way it's done is, on iridium, run the following command:

sudo /srv/phab/phabricator/bin/remove destroy @Mdholloway

@chasemp, @mmodell, any pointers on how to resolve the above ? Thanks!

@akosiaris: I can do the deletion if you'd prefer. But the way it's done is, on iridium, run the following command:

sudo /srv/phab/phabricator/bin/remove destroy @Mdholloway

sorry alex I didn't see your shoutout until now. yep the cli tooling here is best bet.^

ok thanks @mmodell, @chasemp. It worked just fine. I also loved the output of that tool!

@Mholloway, you should be able to connect you (WMF) wiki account now so we can proceed with this

Thanks everyone, and sorry about the hassle. My WMF MediaWiki account is now linked.

Change 233958 had a related patch set uploaded (by Alexandros Kosiaris):
Replace mholloway's public ssh key

https://gerrit.wikimedia.org/r/233958

Change 233958 merged by Alexandros Kosiaris:
Replace mholloway's public ssh key

https://gerrit.wikimedia.org/r/233958

akosiaris claimed this task.

And done. Resolving! thanks

Change 233582 abandoned by Matanya:
access: update key for Mholloway

Reason:
other patch was merged.

https://gerrit.wikimedia.org/r/233582