How to move vi to /bin

Chad Perrin perrin at apotheon.com
Fri May 15 15:39:10 UTC 2009


On Thu, May 14, 2009 at 10:03:58PM -0700, perryh at pluto.rain.com wrote:
> Chris Rees <googlemail.com!utisoft at agora.rdrop.com> wrote:
> > 2009/5/14 Chad Perrin <perrin at apotheon.com>:
> > > On Thu, May 14, 2009 at 11:38:30AM +0100, Chris Rees wrote:
> > >> 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.
> > >
> > > I've never understood the resistance to just use toor instead
> > > of root if one wants a nonstandard administrative shell.
> >
> > People don't seem to understand that toor and root are equivalent.
> 
> Well, not entirely.  "su" uses root's shell, not toor's, AFAIK.

Actually, `su` uses whatever you tell it to:

    su toor

. . . though the default is root, you don't have to use the default.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Perrin's Principle of Inclusion: The strength of any system is directly
proportional to the power of the tools it provides for the general
public.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090515/9e6f307b/attachment.pgp


More information about the freebsd-questions mailing list