From owner-freebsd-questions Sun Aug 20 10:17: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (fedde.littleton.co.us [216.17.174.44]) by hub.freebsd.org (Postfix) with ESMTP id 2C90937B422 for ; Sun, 20 Aug 2000 10:17:01 -0700 (PDT) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.0/8.11.0.Beta3) with ESMTP id e7KHGq265998; Sun, 20 Aug 2000 11:16:52 -0600 (MDT) Message-Id: <200008201716.e7KHGq265998@fedde.littleton.co.us> To: Ariel Burbaickij Cc: questions@FreeBSD.ORG Subject: Re: Is it possible to discriminate between shell used in CLI and XWindowmode ? In-Reply-To: From: Chris Fedde Date: Sun, 20 Aug 2000 11:16:52 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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