From owner-freebsd-questions Tue Oct 26 13:39:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from foobie.net (adsl-216-103-105-178.dsl.snfc21.pacbell.net [216.103.105.178]) by hub.freebsd.org (Postfix) with ESMTP id E8ADB14D3A for ; Tue, 26 Oct 1999 13:39:24 -0700 (PDT) (envelope-from sbeitzel@foobie.net) Received: (from sbeitzel@localhost) by foobie.net (8.9.3/8.9.3) id NAA09050; Tue, 26 Oct 1999 13:38:04 -0700 (PDT) (envelope-from sbeitzel) From: Stephen Beitzel Message-Id: <199910262038.NAA09050@foobie.net> Subject: Re: toor vs root In-Reply-To: from J McKitrick at "Oct 26, 1999 08:01:18 pm" To: jcm@dogma.freebsd-uk.eu.org (J McKitrick) Date: Tue, 26 Oct 1999 13:38:04 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > So just so i understand correctly, toor is exactly the same as root, just > a different back door into the system, right? I can use root to give toor > a password in case i can't get it, and toor is my backup ith a solid shell > running instead of bash, correct? That seems right. Also, in case you want to set up root so that it will have bash as login shell but fail over to csh in case /usr isn't mountable, put these two lines at the end of /root/.cshrc: set DESIREDSHELL=/usr/local/bin/bash if (-f $DESIREDSHELL) exec $DESIREDSHELL --login This way, if you *can* use bash, you will, and if you can't, then you're still okay. Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message