From owner-freebsd-questions@FreeBSD.ORG Fri Sep 26 21:14:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F4214A69 for ; Fri, 26 Sep 2014 21:14:22 +0000 (UTC) Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [IPv6:2607:f8b0:400d:c01::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B5D27988 for ; Fri, 26 Sep 2014 21:14:22 +0000 (UTC) Received: by mail-qc0-f177.google.com with SMTP id x13so7397071qcv.22 for ; Fri, 26 Sep 2014 14:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0xYoetqesIYLfI8CIekZOXuE6QwHABvfsaLSwg6BjsU=; b=Lhd0Ob3MsuWBOX+vJ7+9YBfIrwX74ExS1ESNh05PQ6XN17YSCugnKxQZRWT8fBAlsZ UhG3kNf/awfjn/42QEZHL5OOELk335oZ1+DfG8t0BMkI6YdDjrNChiGqqknmU54Guk+u cSHD1O0L6utdOhrJv7T840n0sM1O8g0GcibucN5G8KolDkfwJQYImA4YCSoAeD9ie9Mw YI838tVBZqjl8fxzk8DPjCXK3pYIu2cWwY22Ay9WeccGxREz4gf1aiREEhwhR4Fc0jTt lUSoVNfcq4qxpox3+OH8tL8OnMHxRBsBELM6gVp+XEZa6ABOxmF6Xxy8F1RhtLMAnv9G mZHg== MIME-Version: 1.0 X-Received: by 10.224.161.11 with SMTP id p11mr33135389qax.40.1411766061821; Fri, 26 Sep 2014 14:14:21 -0700 (PDT) Received: by 10.96.27.103 with HTTP; Fri, 26 Sep 2014 14:14:21 -0700 (PDT) In-Reply-To: <20140926210145.GA10084@neutralgood.org> References: <20140926210145.GA10084@neutralgood.org> Date: Fri, 26 Sep 2014 17:14:21 -0400 Message-ID: Subject: Re: pkg_delete bash, logged out by accident, can't ssh back in (not good) From: "firmdog@gmail.com" To: kpneal@pobox.com Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 21:14:23 -0000 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, 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. > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "Good grief, I've just noticed I've typed in a rant. Sorry chaps!" > Keir Finlow Bates, circa 1998