<html>
<head>
</head>
<body>
hi,<br>
<br>
of course you have problems since all the commands <br>
suggested require that you log in first ( but you can't ! ).<br>
<br>
the only way is to boot on a minimal linux on floppy<br>
( for instance : <a class="moz-txt-link-freetext" href="http://boot.everywhere.dk/">http://boot.everywhere.dk/</a> ),<br>
mount the root partition and modify the<br>
/etc/passwd file.<br>
<br>
suerte,<br>
sevy<br>
<br>
Ales Zemene wrote:<br>
<blockquote type="cite" cite="mid:Pine.LNX.4.56L0.0401291413520.21602@hornet.mur.at">
  <pre wrap="">i have the some problem on one pc, but if i do:<br>  su -c "chsh -s /bin/bash/"<br><br>i get :<br>  Password :<br>  No shell<br><br>rebooting does not help <br><br>A.Z.<br><br>On Thu, 29 Jan 2004, Frank Barknecht wrote:<br></pre>
  <blockquote type="cite">
    <pre wrap="">Hallo,<br>Zachris Trolin hat gesagt: // Zachris Trolin wrote:<br><br></pre>
    <blockquote type="cite">
      <pre wrap="">ons 2004-01-28 klockan 14.59 skrev marius schebella:<br><br></pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">also i have stupidly locked myself out my root account by:<br>chsh -s /sbin/nologin<br>i thought this would bypass the login procedure - whoops!<br>how can i get my root account back?<br>this is my real problem at the moment<br>thanks,<br>rob<br></pre>
          </blockquote>
          </blockquote>
          <pre wrap="">I guess you could login as an ordinary user and then use su - this is<br>probably the easy and best way, <br></pre>
          </blockquote>
          <pre wrap="">Maybe this will help:<br><br>$ su -c "chsh -s /bin/bash/"<br><br>ciao<br><br></pre>
          </blockquote>
          <pre wrap=""><!----><br>++++++++++++++++++++++++<br>+  Ales Zemene         +<br>+  <a class="moz-txt-link-freetext" href="http://ales.mur.at">http://ales.mur.at</a>  +<br>+  GSM +436769573397   +<br>+  ICQ 215971050       +<br>++++++++++++++++++++++++<br><br>_______________________________________________<br>PD-list mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:PD-list@iem.at">PD-list@iem.at</a><br><a class="moz-txt-link-freetext" href="http://iem.at/cgi-bin/mailman/listinfo/pd-list">http://iem.at/cgi-bin/mailman/listinfo/pd-list</a><br><br><br></pre>
          </blockquote>
          <br>
          </body>
          </html>