Hello/ahoj,
změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí...
I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried:
VPSAdmin remote console:
When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...)
I also tried:
$ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish
$ chsh --shell /bin/bash root You may not change the shell for 'root'.
$ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password).
I'm not sure what else to try :(
Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D
Tim - timthelion
Zkus
su --shell /bin/bash root To by mělo fakčit (bez --command a --login)
Pokud to nepude, a nemáš tam sudo (což jsem odhadl z kontextu), tak zkus napsat přímo na podporu vpsfree, ti by to myslím mohli změnit přímo z hosta.
ne 14. 2. 2016 v 23:44 odesílatel Timothy Hobbs timothy@hobbs.cz napsal:
Hello/ahoj,
změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí...
I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried:
VPSAdmin remote console:
When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...)
I also tried:
$ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish
$ chsh --shell /bin/bash root You may not change the shell for 'root'.
$ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password).
I'm not sure what else to try :(
Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D
Tim - timthelion
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
Sudo fakt nemám. Když dělam
$ su --shell /bin/bash root
Dostanu,
Cannot execute fish: No such file or directory
vůbec to nerozumím, protože by to mělo fungovat...
Děkuji za radu, pišu na podporu, Tim
On 02/14/16 23:57, Martin Vozník wrote:
Zkus
su --shell /bin/bash root To by mělo fakčit (bez --command a --login)
Pokud to nepude, a nemáš tam sudo (což jsem odhadl z kontextu), tak zkus napsat přímo na podporu vpsfree, ti by to myslím mohli změnit přímo z hosta.
ne 14. 2. 2016 v 23:44 odesílatel Timothy Hobbs <timothy@hobbs.cz mailto:timothy@hobbs.cz> napsal:
Hello/ahoj, změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí... I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried: VPSAdmin remote console: When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...) I also tried: $ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish $ chsh --shell /bin/bash root You may not change the shell for 'root'. $ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password). I'm not sure what else to try :( Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D Tim - timthelion _______________________________________________ Community-list mailing list Community-list@lists.vpsfree.cz <mailto:Community-list@lists.vpsfree.cz> http://lists.vpsfree.cz/listinfo/community-list
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
Mozno blbost, ale skus: $ su -c /bin/bash
:-)
Miso
On Sun, Feb 14, 2016 at 2:44 PM -0800, "Timothy Hobbs" <timothy@hobbs.czmailto:timothy@hobbs.cz> wrote:
Hello/ahoj,
změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí...
I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried:
VPSAdmin remote console:
When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...)
I also tried:
$ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish
$ chsh --shell /bin/bash root You may not change the shell for 'root'.
$ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password).
I'm not sure what else to try :(
Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D
Tim - timthelion
_______________________________________________ Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
Už jsem to zkusil. Vůbec nechapu proč to nefunguje, ale nefunguje. Už uvažuji o tom, napsat patch pro chsh, aby to napsal jen
" You are making a mistake, a very big mistake, you don't know what kind of doodoo you are getting yourself into. Exiting... " pokud je spouštění jako root. :D
Tim
On 02/15/16 00:27, Michal Dobsovic wrote:
Mozno blbost, ale skus: $ su -c /bin/bash
:-)
Miso
On Sun, Feb 14, 2016 at 2:44 PM -0800, "Timothy Hobbs" <timothy@hobbs.cz mailto:timothy@hobbs.cz> wrote:
Hello/ahoj,
změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí...
I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried:
VPSAdmin remote console:
When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...)
I also tried:
$ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish
$ chsh --shell /bin/bash root You may not change the shell for 'root'.
$ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password).
I'm not sure what else to try :(
Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D
Tim - timthelion
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
protoze ti prikaz pro shell vraci false, je to skoto stejne jako zakazani loginu (pokud se seredne nepletu)... Stopni stroj, vytvor si playground, pripoj dataset stroje, zmen rucne v souboru /etc/password shell pro roota, odpoj dataset, zapni znovu stroj. Zni to slozite, ale za 5 minut mas hotovo a nemusis nic hackovat ;)
On Mon, Feb 15, 2016 at 1:04 AM, Timothy Hobbs timothy@hobbs.cz wrote:
Už jsem to zkusil. Vůbec nechapu proč to nefunguje, ale nefunguje. Už uvažuji o tom, napsat patch pro chsh, aby to napsal jen
" You are making a mistake, a very big mistake, you don't know what kind of doodoo you are getting yourself into. Exiting... " pokud je spouštění jako root. :D
Tim
On 02/15/16 00:27, Michal Dobsovic wrote:
Mozno blbost, ale skus: $ su -c /bin/bash
:-)
Miso
On Sun, Feb 14, 2016 at 2:44 PM -0800, "Timothy Hobbs" timothy@hobbs.cz wrote:
Hello/ahoj,
změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí...
I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried:
VPSAdmin remote console:
When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...)
I also tried:
$ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish
$ chsh --shell /bin/bash root You may not change the shell for 'root'.
$ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password).
I'm not sure what else to try :(
Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D
Tim - timthelion
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
Community-list mailing listCommunity-list@lists.vpsfree.czhttp://lists.vpsfree.cz/listinfo/community-list
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
tak už mě to podpora opravila, ale diky za radu. Třeba do budocná mě pomáha. Ale snad ne, už na chsh jako root nešaham!
Tim
On 02/15/16 09:19, Martin Miksanik wrote:
protoze ti prikaz pro shell vraci false, je to skoto stejne jako zakazani loginu (pokud se seredne nepletu)... Stopni stroj, vytvor si playground, pripoj dataset stroje, zmen rucne v souboru /etc/password shell pro roota, odpoj dataset, zapni znovu stroj. Zni to slozite, ale za 5 minut mas hotovo a nemusis nic hackovat ;)
On Mon, Feb 15, 2016 at 1:04 AM, Timothy Hobbs <timothy@hobbs.cz mailto:timothy@hobbs.cz> wrote:
Už jsem to zkusil. Vůbec nechapu proč to nefunguje, ale nefunguje. Už uvažuji o tom, napsat patch pro chsh, aby to napsal jen " You are making a mistake, a very big mistake, you don't know what kind of doodoo you are getting yourself into. Exiting... " pokud je spouštění jako root. :D Tim On 02/15/16 00:27, Michal Dobsovic wrote:
Mozno blbost, ale skus: $ su -c /bin/bash :-) Miso On Sun, Feb 14, 2016 at 2:44 PM -0800, "Timothy Hobbs" <timothy@hobbs.cz <mailto:timothy@hobbs.cz>> wrote: Hello/ahoj, změnil jsem shell pro root a teď nemůžu přihlasit jako root. Zkusil jsem nasladujicí... I messed up with chsh root on my VPS. I can still log in with other users, but I cannot log in as root. I cannot figure out how to set the root shell back to something sane. None of my other users are sudoers. I have tried: VPSAdmin remote console: When I enter root and the password, the screen resets (because the incorrect shell entry exits imediately...) I also tried: $ su --login --shell /bin/bash --command /bin/bash Password: Cannot execute fish $ chsh --shell /bin/bash root You may not change the shell for 'root'. $ ssh root@<ip-address> /bin/bash root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied, please try again. root@<ip-address> password: Permission denied (publickey,password). I'm not sure what else to try :( Prosím, vynechte komentáře o tom, že jsem idiot. Už mě to opakoval Google asi milion krat za tu hodinu co Googlím řešení :D Tim - timthelion _______________________________________________ Community-list mailing list Community-list@lists.vpsfree.cz <mailto:Community-list@lists.vpsfree.cz> http://lists.vpsfree.cz/listinfo/community-list _______________________________________________ Community-list mailing list Community-list@lists.vpsfree.cz <mailto:Community-list@lists.vpsfree.cz> http://lists.vpsfree.cz/listinfo/community-list
_______________________________________________ Community-list mailing list Community-list@lists.vpsfree.cz <mailto:Community-list@lists.vpsfree.cz> http://lists.vpsfree.cz/listinfo/community-list
-- S přáním pěkného dne, Martin Mikšaník
gsm: +420 602 623 934 icq: 311047283
Community-list mailing list Community-list@lists.vpsfree.cz http://lists.vpsfree.cz/listinfo/community-list
community-list@lists.vpsfree.cz