From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 15:54:05 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8AEB16A4CE for ; Fri, 24 Dec 2004 15:54:05 +0000 (GMT) Received: from debian.akroteq.com (rdbck-static-72.palmer.mtaonline.net [12.17.141.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EF7043D45 for ; Fri, 24 Dec 2004 15:54:05 +0000 (GMT) (envelope-from andy@firman.us) Received: from andy by debian.akroteq.com with local (Exim 4.34) id 1ChrlO-0004CV-JU for freebsd-questions@freebsd.org; Fri, 24 Dec 2004 06:53:58 -0900 Date: Fri, 24 Dec 2004 06:53:58 -0900 From: Andy Firman To: freebsd-questions@freebsd.org Message-ID: <20041224155358.GB15993@akroteq.com> References: <41C6EE24.4080606@vilot.com> <200412202154.iBKLsrt13676@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200412202154.iBKLsrt13676@clunix.cl.msu.edu> User-Agent: Mutt/1.5.6+20040907i Subject: Re: bash - superuser X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andy Firman List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Dec 2004 15:54:06 -0000 On Mon, Dec 20, 2004 at 04:54:51PM -0500, Jerry McAllister wrote: > Then the thing to do is create another root account and make the > default shell for that one be bash, leaving the root root be /bin/sh. So for those of us that want to go back to the way things should be, (leaving root shell be /bin/sh) I fire up vipw and change this: root:*:0:0:Charlie &:/root:/usr/local/bin/bash to this: root:*:0:0:Charlie &:/root:/bin/sh Right? Then I keep using sudo all the time. But if I need to do some big work as root, I can su to root and get bash simply by typing: /usr/local/bin/bash Right? Just want to be clear on this. Thanks.