From owner-freebsd-questions@FreeBSD.ORG Tue May 19 08:19:53 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 8EDC21065672 for ; Tue, 19 May 2009 08:19:53 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5CE8FC14 for ; Tue, 19 May 2009 08:19:52 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by ey-out-2122.google.com with SMTP id 9so1134079eyd.7 for ; Tue, 19 May 2009 01:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=pLNnyIQ06iygHmy1M7Kp/rHyyeBBCWFw1hfMFiUoNkE=; b=GJIvp556JeBeOVD8lALFgpvQvMf4mk5MCb1wxkfTbQt2/eB4fLvBGZLx3TamlQw9/C 4T/J/Z6skSPCRZNOy4ajt8fJZXtisnb5hTyqD6aZE23hsCHazUK/k9fwym6/eInlXpcm 93inw85D113t916hziUGvb/omd+gDJ15Tr6rk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=n3JIXcu6jyS7EV6hPpcEPX9lmw4hP/k9k6XuzMTcHjVTBzls9bNzRft5s0O6LF453v nsyyhp27QaWmiEPoM7eQvjj+aftLtJLQD3Yc/U20XSjobknF40fh4Q4LZXYbN+0l5gwD JOLWenxiUTp+Dw3OpORm4Ub4rJhAxpmfOkebs= MIME-Version: 1.0 Received: by 10.210.18.8 with SMTP id 8mr8805095ebr.15.1242721192171; Tue, 19 May 2009 01:19:52 -0700 (PDT) In-Reply-To: <200905142013.02473.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200905132211.53066.mel.flynn+fbsd.questions@mailing.thruhere.net> <200905142013.02473.mel.flynn+fbsd.questions@mailing.thruhere.net> From: Chris Rees Date: Tue, 19 May 2009 09:19:32 +0100 Message-ID: To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: nightrecon@verizon.net, freebsd-questions@freebsd.org Subject: Re: How to move vi to /bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 08:19:53 -0000 2009/5/14 Mel Flynn : > 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. What do you mean by that? What is 'worse' about /bin/sh? It has none of the quirks csh has. > > 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 ;) Your software is broken then, and you should email the maintainer. I doubt that ever actually happens. Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?