From owner-freebsd-questions@FreeBSD.ORG Mon Sep 29 14:03:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1984DBFB for ; Mon, 29 Sep 2014 14:03:23 +0000 (UTC) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) (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 DF7F9E74 for ; Mon, 29 Sep 2014 14:03:22 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id p10so5354837pdj.14 for ; Mon, 29 Sep 2014 07:03:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=XU9LCjB9cOUA2YdDXE716AYHPE9KE2fyY0r15f2kDEw=; b=f0MRSa19RoPCEORheNmhMUl5rgEGSJLxut2buK0wJKG7p0R8niYAi/VRZkfYNaYQH9 QL5x2xRDLU9Q0k3EeZ/BgaqM7iUNgwWLxrlnmPOTYyt0VJii5p2tc9qLdwqOV/7D3IwT /E5mB6H26ss7sOfEHZ+iI4IoElJN8L89ZbpPh4ylIpZf6+vQGvo2rwAKmZm3P+RjHWqJ dTc82YCzjPcXfYp1j37sQxFO5gWL3JKL7CHEQqLAoA+pn7yRbx/xaqVVP+ABwuuKQR7q z20rzo7SqyVZlnE7D2MojDKzjKybEYT4IWhHrXmwGW7Cv/tlxaR9UWfsB0h/ZRk4jnQz tC+Q== X-Gm-Message-State: ALoCoQlBopb74VvI7Mp3W6aCnvZEIwD8yjqfQQKP37jblaXnqhX0A7aMwcVLi+lciduzCVzIrf8t X-Received: by 10.68.103.4 with SMTP id fs4mr61343804pbb.58.1411999396719; Mon, 29 Sep 2014 07:03:16 -0700 (PDT) Received: from wide.rdtan.net ([175.136.182.168]) by mx.google.com with ESMTPSA id xf9sm3203504pab.2.2014.09.29.07.03.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Sep 2014 07:03:15 -0700 (PDT) Received: from localhost (1000@localhost [local]); by localhost (OpenSMTPD) with ESMTPA id bb9a1ef3; Mon, 29 Sep 2014 22:03:09 +0800 (MYT) Date: Mon, 29 Sep 2014 22:03:09 +0800 From: Edward To: kpneal@pobox.com Subject: Re: pkg_delete bash, logged out by accident, can't ssh back in (not good) Message-ID: <20140929140309.GC19085@wide.rdtan.net> References: <20140927030810.GC23533@wide.rdtan.net> <20140929133329.GA83452@neutralgood.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140929133329.GA83452@neutralgood.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: "firmdog@gmail.com" , Edward , 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: Mon, 29 Sep 2014 14:03:23 -0000 On Mon, Sep 29, 2014 at 09:33:29AM -0400, kpneal@pobox.com wrote: > On Sat, Sep 27, 2014 at 11:08:11AM +0800, Edward wrote: > > After a few times stepping on this problem when upgrading ports, picked > > up a habit. Leave /bin/{k}sh as default shell and always "tmux new" > > after remote login. > > FreeBSD does not ship with /bin/ksh, so I suggest not using it as the > default shell for either root or the account you use to log in remotely. Thanks for pointing that out. The default shells are /bin/{tc}sh, mentioned[1] in handbook. [1]https://www.freebsd.org/doc/handbook/shells.html