hashbang / hashbang.sh

Public facing website on hashbang.sh with embedded user creation script.
http://hashbang.sh
MIT License
140 stars 22 forks source link

Account recovery request #156

Open ralyodio opened 2 years ago

ralyodio commented 2 years ago

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 commented 1 year ago

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

KellerFuchs commented 1 year ago

@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 commented 1 year ago

how do i prove that?

KellerFuchs commented 1 year ago

@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 commented 1 year ago

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

KellerFuchs commented 1 year ago

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 commented 1 year ago

the public key probably has "ettinger" in it.

daurnimator commented 1 year ago

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 commented 1 year ago

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

KellerFuchs commented 1 year ago

@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 commented 1 year ago

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

On Mon, May 8, 2023 at 6:20 AM Queer Supervillainess < @.***> wrote:

@ralyodio https://github.com/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

— Reply to this email directly, view it on GitHub https://github.com/hashbang/hashbang.sh/issues/156#issuecomment-1538352194, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAGV5MV4RP4EMJHQQTDRY3XFDXLJANCNFSM5EZ2NSTQ . You are receiving this because you were mentioned.Message ID: @.***>

-- Anthony 408-656-2473

KellerFuchs commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

i don't know. oh well.