Root shell

Frank Shute frank at shute.org.uk
Sun Mar 1 08:16:57 PST 2009


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 



More information about the freebsd-questions mailing list