Date: Fri, 29 Oct 1999 16:40:13 -0700 (PDT) From: Alfred Perlstein <bright@wintelcom.net> To: "Jason C. Wells" <jcwells@u.washington.edu> Cc: J McKitrick <jcm@dogma.freebsd-uk.eu.org>, freebsd-questions@FreeBSD.ORG Subject: Re: root shell/toor shell Message-ID: <Pine.BSF.4.05.9910291635540.12797-100000@fw.wintelcom.net> In-Reply-To: <Pine.BSF.4.10.9910300400470.61452-100000@s8-37-26.student.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 30 Oct 1999, Jason C. Wells wrote: > 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. you must have neglected the 'exec' if you experianced that problem, exec should overlay 'sh' with zsh, when you exit zsh you should log out. > 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. Except that bash is... well bash... :) > Mr. McKitrick has heard the whole deal on the topic. He should be ready to > give his PhD dissertation on the topic soon. ;) :) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9910291635540.12797-100000>