Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2009 16:16:50 +0000
From:      Frank Shute <frank@shute.org.uk>
To:        Sniper <kkiller@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Root shell
Message-ID:  <20090301161650.GB15344@melon.esperance-linux.co.uk>
In-Reply-To: <d2f26f270903010650h243df36bx2ea07d434567633e@mail.gmail.com>
References:  <d2f26f270903010650h243df36bx2ea07d434567633e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote:
>
> Hi!
> 
> I heard that changing root shell to bash is not good idea, also programing
> in any C shell not applicable. So which shell is the most appropriate for
> root user ?
> 

I changed my root shell to pdksh with no ill-effects. I just copied it
from /usr/local/bin to /bin and added it to /etc/shells. Then vipw.

pdksh is statically linked and I don't know if bash is. If it's not
you wont be able to use it in single user mode but you can always use
/bin/sh instead.

Another option is to use the toor account rather than messing around
with root.

I think programming with csh is deprecated nowadays - a shell guru
could tell you if that's true.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090301161650.GB15344>