From owner-freebsd-questions Tue Aug 22 13:50:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dazed.slacker.com (dazed.slacker.com [208.15.208.76]) by hub.freebsd.org (Postfix) with SMTP id E943737B443 for ; Tue, 22 Aug 2000 13:50:40 -0700 (PDT) Received: (qmail 67049 invoked by uid 1000); 22 Aug 2000 20:50:28 -0000 Date: Tue, 22 Aug 2000 15:50:28 -0500 From: David McNett To: questions@freebsd.org Subject: Re: Is it possible to discriminate between shell used in CLI and XWindowmode ? Message-ID: <20000822155028.A66215@dazed.slacker.com> Mail-Followup-To: questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from Ariel.Burbaickij@mni.fh-giessen.de on Sun, Aug 20, 2000 at 05:39:38PM +0200 X-Operating-System: FreeBSD 4.1-STABLE i386 X-Distributed: Join the Effort! http://www.distributed.net/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 20-Aug-2000, 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 ? Just to inject some religion into a perfectly legitimate technical discussion. I believe that leaving root's shell as csh is a Good Thing as it's a deterrant to unnecessary root activity. I'd *strongly* urge that you follow Chris Fedde's suggestion and install sudo (it's in /usr/ports/security/sudo) and experiment with using that as a wrapper around tasks which you need root privlidges to accomplish. -- ________________________________________________________________________ |David McNett |To ensure privacy and data integrity this message has| |nugget@slacker.com|been encrypted using dual rounds of ROT-13 encryption| |Birmingham, AL USA|Please encrypt all important correspondence with PGP!| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message