From owner-freebsd-questions Sun Aug 20 10:58:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from merkur.hrz.uni-giessen.de (merkur.hrz.uni-giessen.de [134.176.2.12]) by hub.freebsd.org (Postfix) with ESMTP id 0EC5F37B422 for ; Sun, 20 Aug 2000 10:58:12 -0700 (PDT) Received: from caspar.mni.fh-giessen.de by merkur.hrz.uni-giessen.de with ESMTP; Sun, 20 Aug 2000 19:57:51 +0200 Received: from sun34.mni.fh-giessen.de ([134.176.183.134] helo=sun34) by caspar.mni.fh-giessen.de with esmtp (Exim 2.12 #6) id 13QZKt-0001pZ-00; Sun, 20 Aug 2000 19:56:43 +0200 Date: Sun, 20 Aug 2000 19:59:38 +0200 (MET DST) From: Ariel Burbaickij X-Sender: hg9456@sun34 To: Chris Fedde Cc: Ariel Burbaickij , questions@FreeBSD.ORG Subject: Re: Is it possible to discriminate between shell used in CLI andXWindowmode ? In-Reply-To: <200008201716.e7KHGq265998@fedde.littleton.co.us> 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 Sun, 20 Aug 2000, Chris Fedde wrote: > On Sun, 20 Aug 2000 17:39:38 +0200 (MET DST) Ariel Burbaickij wrote: > +------------------ > | Concrete: I want to leave csh as root shell on the console and work as > | root with bash in X Window is it somehow managable ? > | > | Regards > +------------------ > > start an xterm then run "su -" in it, finaly run "bash --login". ^^^^^^^^^^^^^ > At that point you will have a bash shell as user root and run all root's > .profile and .bashrc stuff This is the point:probably , I was not precise enough.How to do it without typing bash --login.Let us try another way:How to set bash as root's default shell while in X? Regards. > Personaly I use sudo for occasional root access. > > good luck > chris > > > -- > Chris Fedde > 303 773 9134 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message