From owner-freebsd-questions@FreeBSD.ORG Thu May 14 18:13:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65698106564A for ; Thu, 14 May 2009 18:13:05 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1FCDE8FC22 for ; Thu, 14 May 2009 18:13:05 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from sarevok.dnr.servegame.org (mailhub.lan.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id C02707E837; Thu, 14 May 2009 10:13:03 -0800 (AKDT) From: Mel Flynn To: freebsd-questions@freebsd.org, utisoft@gmail.com Date: Thu, 14 May 2009 20:13:02 +0200 User-Agent: KMail/1.11.2 (FreeBSD/8.0-CURRENT; KDE/4.2.2; i386; ; ) References: <200905132211.53066.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905142013.02473.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: nightrecon@verizon.net Subject: Re: How to move vi to /bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 18:13:05 -0000 On Thursday 14 May 2009 12:38:30 Chris Rees wrote: > 2009/5/13 Mel Flynn : > > On Wednesday 13 May 2009 11:34:43 Michael Powell wrote: > >> Kind of like how those coming over from a > >> Linux environment all seem to want to change root's shell to bash, it > >> serves no purpose except foot-shooting. > > > > - csh cannot redirect stderr seperately from stdout > > - on pipes the exit status from the first command is the exit status of > > the total command > > - will not expand matches without a user provided part, for *every* > > component of a path > > > > There's plenty of reasons not to use csh and if you know what you're > > doing, BSD lets you. And no, I don't want to type exec zsh when I'm > > finally logged into the box that has a load of 100+. > > I think the problem with that is he meant changing the root shell to > /usr/local/bin/bash. You're better off using /bin/sh if you want a > Bourne-type shell, or using toor with /usr/local/bin/bash. sh is worse then csh. And I said if you know what you're doing. My root shell is less prone to break then the standard csh shell, because I compile it statically (and also on the / partition). On Thursday 14 May 2009 18:03:25 Chad Perrin wrote: > I've never understood the resistance to just use toor instead of root if > one wants a nonstandard administrative shell. Habit, mostly. toor is one way of doing things, just changing the shell is the other. Maybe it's my paranoia that I might be running software that does string matches for root logins, rather then uid to disallow access ;) -- Mel