Date: Fri, 26 Sep 2014 16:42:31 -0500 From: dweimer <dweimer@dweimer.net> To: firmdog@gmail.com Cc: freebsd-questions@freebsd.org, kpneal@pobox.com, owner-freebsd-questions@freebsd.org Subject: Re: =?UTF-8?Q?pkg=5Fdelete=20bash=2C=20logged=20out=20by=20accide?= =?UTF-8?Q?nt=2C=20can=27t=20ssh=20back=20in=20=28not=20good=29?= Message-ID: <d6c50a799693aef40e69dcf9d5bb655d@dweimer.net> In-Reply-To: <CAHcg-UFahAwG7%2BhgDiK-OLGqS_H0nKjeR4wozRHwauaUUFEsQA@mail.gmail.com> References: <CAHcg-UGOAjobmTnWM9%2B5PiE23wXrDO8v31p5QCF07ar8aXEV8A@mail.gmail.com> <20140926210145.GA10084@neutralgood.org> <CAHcg-UFahAwG7%2BhgDiK-OLGqS_H0nKjeR4wozRHwauaUUFEsQA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/26/2014 4:14 pm, firmdog@gmail.com wrote: > Oh boy. I have only 2 accounts on this box. Root and one other > account. Both use bash as default. > > I am completely locked out of this box on the command line? > > > > > > On Fri, Sep 26, 2014 at 5:01 PM, <kpneal@pobox.com> wrote: >> On Fri, Sep 26, 2014 at 04:51:32PM -0400, firmdog@gmail.com wrote: >>> I did a pkg_delete of bash and was going to make install a new one >>> from the port, due to shellshock. I logged out by accident, and when >>> try to login via ssh, it won't take my password. I assume I can't >>> login because the default shell is bash, which has been removed >>> right? >> >> Sounds like it. >> >>> Any ideas on how I can get into my remote freebsd box via ssh? >> >> Use a different remote account with a different shell. >> >>> Workarounds? >> >> None. >> -- You should be able to hard reboot, select single user mode option when booting then change the shell back to default for root. Finish booting then re-install bash. -- Thanks, Dean E. Weimer http://www.dweimer.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d6c50a799693aef40e69dcf9d5bb655d>