Date: Mon, 20 Dec 2004 21:56:12 +0000 From: Dick Davies <rasputnik@hellooperator.net> To: David Landgren <david@landgren.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: bash - superuser Message-ID: <20041220215612.GC21442@lb.tenfour> In-Reply-To: <41C70EAB.2000302@landgren.net> References: <41C6AC75.6020608@uol.com.br> <20041220120620.GA68520@duplo.dahoam> <20041220133252.GB7774@lb.tenfour> <41C70EAB.2000302@landgren.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* David Landgren <david@landgren.net> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041220215612.GC21442>