From owner-freebsd-questions@FreeBSD.ORG Mon Dec 20 21:56:14 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 2521516A4CE for ; Mon, 20 Dec 2004 21:56:14 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD44A43D49 for ; Mon, 20 Dec 2004 21:56:13 +0000 (GMT) (envelope-from rasputin@hellooperator.net) Received: from rasputin by 9.hellooperator.net with local (Exim 4.43) id 1CgVVk-0000of-Nd; Mon, 20 Dec 2004 21:56:12 +0000 Date: Mon, 20 Dec 2004 21:56:12 +0000 From: Dick Davies To: David Landgren Message-ID: <20041220215612.GC21442@lb.tenfour> References: <41C6AC75.6020608@uol.com.br> <20041220120620.GA68520@duplo.dahoam> <20041220133252.GB7774@lb.tenfour> <41C70EAB.2000302@landgren.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C70EAB.2000302@landgren.net> User-Agent: Mutt/1.4.2.1i Sender: Dick Davies cc: FreeBSD Questions Subject: Re: bash - superuser X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dick Davies List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2004 21:56:14 -0000 * David Landgren [1241 17:41]: > Dick Davies wrote: > >To the original poster: just be root and run 'chsh'. > > No. > > When you are logged in as root, you *should* have to go through extra > hoops to get comfortable. On my box I have a # prompt to tell me I'm root. I don't sit on a drawing pin when I su just to remind me I have godly powers, and I don't see why I should be banging zeroes together to get ones when I can be more productive (and therefore spend less time with escalated privileges) in bash. > I am not saying that you should not use bash when logged in as root. I > am saying that you should not configure your root account to login with > shell that is dysfunctional if /usr is unmounted. Look, if /usr is unmounted and you are logged in, you are on the console : root@bingo gdm2 # which sshd /usr/sbin/sshd so you may as well be single user and pick the shell you want. If /usr is hosed, run /bin/*sh. What's the problem? >Yes, 'exec zsh' or > whatever is a minor hassle, but it's there to remind you that root is > different. Sorry, but this is just dogma. Give me a benefit of not changing roots shell that isn't either: a) csh is really shitty, so encourages you not to su b) if your shell is in /usr you will be screwed if /usr is unmounted c) 'bash is for teh lam0rs' ( ok no-ones explicitly mentioned this yet, but admit it, it entered your head :) ) or let's just drop it. This thread has come back from the dead more than Captain Scarlet, it just gets my goat everytime I hear the same dubious arguments. -- 'Everyone's always in favour of saving Hitler's brain, but when you put it in the body of a Great White shark suddenly you've gone too far..' -- Prof. Farnsworth Rasputin :: Jack of All Trades - Master of Nuns