Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account recovery request #156

Open
ralyodio opened this issue Sep 27, 2021 · 14 comments
Open

Account recovery request #156

ralyodio opened this issue Sep 27, 2021 · 14 comments

Comments

@ralyodio
Copy link

I think I did this once already but I forgot how to access my account.

I currently get this error when trying to recreate the account:


 Username: chovy
 Public Key: /home/me/.ssh/id_rsa.pub
 Host: de1.hashbang.sh

 
 Does this look correct? [Y/n] Y

 Creating your account...  Account creation failed: {
    "message": "duplicate key value violates unique constraint \"passwd_name_key\""
}
 
 If you think this is a bug, please report it to 
 -> https://github.com/hashbang/hashbang.sh/issues/
 
 The installer will not continue from here...
@maximko
Copy link

maximko commented Oct 28, 2022

I had the same issue and found that my desired username was already taken.

@KellerFuchs KellerFuchs changed the title can't create account Account recovery request May 8, 2023
@KellerFuchs
Copy link
Member

@ralyodio Yes, usernames must be unique, so you cannot 'recreate' your account that way.

We may however be able to get you access to your account, provided you can prove this was indeed yours.

@ralyodio
Copy link
Author

ralyodio commented May 8, 2023

how do i prove that?

@KellerFuchs
Copy link
Member

@ralyodio Did your home directory (on our server) contain information tying it to your Github account?

What was the username? We do not seem to have a ralyodio

@ralyodio
Copy link
Author

ralyodio commented May 8, 2023

username was probably chovy. i hibernated my github account and someone took chovy so i renamed it to ralyodio

@KellerFuchs
Copy link
Member

username was probably chovy. i hibernated my github account and someone took chovy so i renamed it to ralyodio

OK. Is there anything in your #! account that would help tie it to you?

@ralyodio
Copy link
Author

ralyodio commented May 8, 2023

the public key probably has "ettinger" in it.

@daurnimator
Copy link
Member

the public key probably has "ettinger" in it.

a public key is... public; and that's aside from the fact that I don't think we capture comments. We need something about your account that's not public. (e.g. something in your home directory?)

@ralyodio
Copy link
Author

ralyodio commented May 8, 2023

i had some code in the root folder I think, ircbot or something like that.

@KellerFuchs
Copy link
Member

@ralyodio Can't see any :/

$ ll -A ~chovy/  # this was as a non-privileged user
total 92
lrwxrwxrwx 1 chovy chovy   28 Sep 20  2021 .bash_aliases -> .dotfiles/bash/.bash_aliases
-rw------- 1 chovy chovy  297 Sep 28  2021 .bash_history
lrwxrwxrwx 1 chovy chovy   27 Sep 20  2021 .bash_logout -> .dotfiles/bash/.bash_logout
lrwxrwxrwx 1 chovy chovy   28 Sep 20  2021 .bash_profile -> .dotfiles/bash/.bash_profile
lrwxrwxrwx 1 chovy chovy   22 Sep 20  2021 .bashrc -> .dotfiles/bash/.bashrc
lrwxrwxrwx 1 chovy chovy   26 Sep 20  2021 .config -> .dotfiles/hashbang/.config
drwxr-xr-x 1 chovy chovy  144 Sep 20  2021 .dotfiles
lrwxrwxrwx 1 chovy chovy   24 Sep 20  2021 .gitconfig -> .dotfiles/git/.gitconfig
lrwxrwxrwx 1 chovy chovy   22 Sep 20  2021 .gnupg -> .dotfiles/gnupg/.gnupg
lrwxrwxrwx 1 chovy chovy   28 Sep 20  2021 .grml-etc-core -> .dotfiles/zsh/.grml-etc-core
lrwxrwxrwx 1 chovy chovy   20 Sep 20  2021 .local -> .dotfiles/git/.local
drwxr-xr-x 1 chovy chovy   18 Sep 20  2021 Mail
lrwxrwxrwx 1 chovy chovy   26 Sep 20  2021 .muttrc -> .dotfiles/hashbang/.muttrc
lrwxrwxrwx 1 chovy chovy   23 Sep 20  2021 .profile -> .dotfiles/bash/.profile
lrwxrwxrwx 1 chovy chovy   18 Sep 20  2021 .ssh -> .dotfiles/ssh/.ssh
lrwxrwxrwx 1 chovy chovy   34 Sep 20  2021 .tmux_bootstrap -> .dotfiles/hashbang/.tmux_bootstrap
lrwxrwxrwx 1 chovy chovy   25 Sep 20  2021 .tmux.conf -> .dotfiles/tmux/.tmux.conf
-rw------- 1 chovy chovy 1429 Sep 28  2021 .viminfo
lrwxrwxrwx 1 chovy chovy   26 Sep 20  2021 .weechat -> .dotfiles/weechat/.weechat
lrwxrwxrwx 1 chovy chovy   21 Sep 20  2021 .zlogin -> .dotfiles/zsh/.zlogin
lrwxrwxrwx 1 chovy chovy   22 Sep 20  2021 .zlogout -> .dotfiles/zsh/.zlogout
lrwxrwxrwx 1 chovy chovy   23 Sep 20  2021 .zprofile -> .dotfiles/zsh/.zprofile
lrwxrwxrwx 1 chovy chovy   21 Sep 20  2021 .zshenv -> .dotfiles/zsh/.zshenv
lrwxrwxrwx 1 chovy chovy   20 Sep 20  2021 .zshrc -> .dotfiles/zsh/.zshrc
lrwxrwxrwx 1 chovy chovy   24 Sep 20  2021 .zshrc.pre -> .dotfiles/zsh/.zshrc.pre

@ralyodio
Copy link
Author

ralyodio commented May 8, 2023 via email

@KellerFuchs
Copy link
Member

@ralyodio There was an authorized_keys file in your homedir, that contained a key not present in our user database.
(Note that our servers are configured not to check authorized_keys files, only our userdb)

I added it to our user database, so if you do have that key you should be able to log in:

$ /usr/local/bin/authorized-keys chovy
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQD0OvlVMPqy0tg54Jt97pTjmgKOuEGtMJ1Bi8edOwKsAnYdlVp/ikfK3bJylRnoIElE+dXhR1a8K1++oCii6Du74DeLM63VQTREaWm9QYhenXY1cy7x7IZUxkMIRI4WxxA7+km3OUaPt5mJktisTHBRBRopR3kE4+MMdkKzSneRyiSAUY/+6U6Fr5Q/uhkSGAn0oOCD1Q3Pc9LgMCa6zURsiUShcaAha1XootzLqdyh1GNLZ8wDFykrI9s/YjZ8vFxuyuiipn0sOSbQ/shTe1JNV1t3JgN04l6l+jzje0+nYbTWJ2yaoG5g9GyCFL0ve+9RygQHyYTBmQp4QhgoDVVnFYcvE3Mcj0ynwh1IEbpUszqhwotSI13W7gSqVvkoiurpOORChQQVbPJ9T0U36ZnMicX/cqGoM+VL8w3uy2DtXk8u/LEtIg2Y8sV3PoFhRZCuDpfiG/Y29Q21rRCX2qKp9AbUQxh5zFfTkfDlOBhXq7W3jS+nOGIL7nURXTOA8sk=
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDdIr2AF/GPycYgy1EPwsa/DLy3U+uvFsS4G/9n8nFutELznYg3wRslXoMlI7jI67pSkGb4ZNP9jHLf7CtRiVmEz2OhDQ3CzeXD7GiRrvH/SRpIZo+/WcWwmxvv+rwrMe0iFNTVTV6jtVNZ2PFCQPmp71fnTYe1wgc1JQAZLOEaavRUNQYjCFbc/m8umCLYDgb72eizHdZNARzU9gCV3JRkrY3p4SCkevlw0fNyskTzG71WuXBcpcPTyPLKr9Vn+twGs8iJHd59nyMEAZ/Rf+CLzzZIIbTJyRoj61HNfBtS6rLUkDtfSMn71ri0KSOBDLHY9oIdJ3KbkES4qVoBTSRsmdmffj6BvYi+D9zNUW9I9hyfWg7PFXuaHxJH0mjsU19gGQg0iydbLYs0XclJIduLc/W8x7JjumsvUKPAfvq3OKp7lpEpdjkNm56GStfi8CMG3xjSZS8MLdYTbY1yk3TUhPu+orBf55jQfZ6MU7/gW28iPIsrNCEs6FGAKFlzLSU=

$ /usr/local/bin/authorized-keys chovy | ssh-keygen -l -f -                                                  :(
3072 SHA256:ls+cxbBI9oHvy4GIT3Q95CDViFfCkEYqdtYlSCm+kb4 no comment (RSA)
3072 SHA256:13ZgmIZO3keQ6sThkDqhqToXOvGDcgzSxM33u/qBvrY no comment (RSA)

@KellerFuchs
Copy link
Member

that's weird, I usually call my dotfiles folder dottemplates. In the .dotfiles/ssh/config file is there anything mentioning user chovy?

Nope, there was no .ssh/config at all.

@ralyodio
Copy link
Author

i don't know. oh well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants