Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 20:13:02 +0200
From:      Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>
To:        freebsd-questions@freebsd.org, utisoft@gmail.com
Cc:        nightrecon@verizon.net
Subject:   Re: How to move vi to /bin
Message-ID:  <200905142013.02473.mel.flynn%2Bfbsd.questions@mailing.thruhere.net>
In-Reply-To: <b79ecaef0905140338lf7b6968k8e8844550c9268b9@mail.gmail.com>
References:  <cb0fa7b70905130021t390bb560r4a1dd64ab3b2e79@mail.gmail.com> <200905132211.53066.mel.flynn%2Bfbsd.questions@mailing.thruhere.net> <b79ecaef0905140338lf7b6968k8e8844550c9268b9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 14 May 2009 12:38:30 Chris Rees wrote:
> 2009/5/13 Mel Flynn <mel.flynn+fbsd.questions@mailing.thruhere.net>:
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905142013.02473.mel.flynn%2Bfbsd.questions>