<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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<br>
<br>
"<br>
You are making a mistake, a very big mistake, you don't know what
kind of doodoo you are getting yourself into.<br>
Exiting...<br>
"<br>
pokud je spouštění jako root. :D<br>
<br>
Tim<br>
<br>
<div class="moz-cite-prefix">On 02/15/16 00:27, Michal Dobsovic
wrote:<br>
</div>
<blockquote
cite="mid:96CC2E7D5F1D0D80.C0122FC7-D55F-4A9D-808B-4ADFB4DE8D14@mail.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<div>
<div>Mozno blbost, ale skus:</div>
<div>$ su -c /bin/bash</div>
<div><br>
</div>
<div>:-)<br>
<br>
<div class="x_acompli_signature">Miso</div>
</div>
<br>
<br>
<br>
<div class="x_gmail_quote">On Sun, Feb 14, 2016 at 2:44 PM
-0800, "Timothy Hobbs"
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:timothy@hobbs.cz" target="_blank">timothy@hobbs.cz</a>></span>
wrote:<br>
<br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
Hello/ahoj,<br>
<br>
změnil jsem shell pro root a teď nemůžu přihlasit jako root.
Zkusil jsem<br>
nasladujicí...<br>
<br>
I messed up with chsh root on my VPS. I can still log in
with other<br>
users, but I cannot log in as root. I cannot figure out how
to set the<br>
root shell back to something sane. None of my other users
are sudoers. I<br>
have tried:<br>
<br>
VPSAdmin remote console:<br>
<br>
When I enter root and the password, the screen resets
(because the<br>
incorrect shell entry exits imediately...)<br>
<br>
I also tried:<br>
<br>
$ su --login --shell /bin/bash --command /bin/bash<br>
Password:<br>
Cannot execute fish<br>
<br>
$ chsh --shell /bin/bash root<br>
You may not change the shell for 'root'.<br>
<br>
$ ssh root@<ip-address> /bin/bash<br>
root@<ip-address> password:<br>
Permission denied, please try again.<br>
root@<ip-address> password:<br>
Permission denied, please try again.<br>
root@<ip-address> password:<br>
Permission denied (publickey,password).<br>
<br>
I'm not sure what else to try :(<br>
<br>
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<br>
<br>
Tim -<br>
timthelion<br>
<br>
_______________________________________________<br>
Community-list mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Community-list@lists.vpsfree.cz">Community-list@lists.vpsfree.cz</a><br>
<a moz-do-not-send="true"
href="http://lists.vpsfree.cz/listinfo/community-list">http://lists.vpsfree.cz/listinfo/community-list</a><br>
</div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Community-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Community-list@lists.vpsfree.cz">Community-list@lists.vpsfree.cz</a>
<a class="moz-txt-link-freetext" href="http://lists.vpsfree.cz/listinfo/community-list">http://lists.vpsfree.cz/listinfo/community-list</a>
</pre>
</blockquote>
<br>
</body>
</html>