From owner-freebsd-questions Fri Oct 29 16:12:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from s8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by hub.freebsd.org (Postfix) with ESMTP id 1E7EA14ECC for ; Fri, 29 Oct 1999 16:12:08 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from localhost (jcw@localhost) by s8-37-26.student.washington.edu (8.9.3/8.9.3) with ESMTP id EAA88960; Sat, 30 Oct 1999 04:09:40 GMT (envelope-from jcwells@u.washington.edu) X-Authentication-Warning: s8-37-26.student.washington.edu: jcw owned process doing -bs Date: Sat, 30 Oct 1999 04:09:40 +0000 (GMT) From: "Jason C. Wells" X-Sender: jcw@s8-37-26.student.washington.edu Reply-To: "Jason C. Wells" To: Alfred Perlstein Cc: J McKitrick , freebsd-questions@FreeBSD.ORG Subject: Re: root shell/toor shell In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 29 Oct 1999, Alfred Perlstein wrote: >In re changing root's/toor's shell, why not just put som,e code in >your .profile/.cshrc that conditionally automagically exec's zsh/bash >if it's available? :) > >if [ -x /usr/local/bin/zsh ] ; then > exec /usr/local/bin/zsh ; >fi > >it's a lot easier and safer. I did this for a while. (until I discovered the one true way:)) IIRC, when you exit zsh you will still be in sh/csh. At any rate, I quit doing this for some pain it was causing me. Toor is there for exactly there reasons we have discussed so far. It is not any less safe, nor any more difficult to use toor for it's intended purpose than it is to do some sort of scripting with root's shell. There is more than one way to do it, to be sure. Redhat's method is yet another way. They have bash with static linking as root's default shell and don't fuss with any of this. Mr. McKitrick has heard the whole deal on the topic. He should be ready to give his PhD dissertation on the topic soon. ;) Thank You, | http://students.washington.edu/jcwells/ Jason Wells To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message