[vpsFree.cz: community-list] Jsem chybně změnil shell pro root, I messed up chsh on my VPS what should I do?

Timothy Hobbs timothy at hobbs.cz
Mon Feb 15 01:04:32 CET 2016


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 at hobbs.cz <mailto:timothy at 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 at lists.vpsfree.cz
> http://lists.vpsfree.cz/listinfo/community-list
>
>
> _______________________________________________
> Community-list mailing list
> Community-list at lists.vpsfree.cz
> http://lists.vpsfree.cz/listinfo/community-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vpsfree.cz/pipermail/community-list/attachments/20160215/5ec518cd/attachment-0002.html>


More information about the Community-list mailing list