Page 1 of 1

Change Root Shell From Fish to Bash

Posted: Wed Aug 13, 2014 3:39 pm
by leegold
uname -a
FreeBSD freebsd-963 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Mon Oct 21 21:22:37 ADT 2013 root@ericbsd.ghostbsd.org:/usr/obj/i386.i386/usr/src/sys/GHOSTBSD i386

When I installed Ghostbsd I chose the bash shell. For non-root "$" shells I think I do get bash. But for root "#" shells I get what I think is "fish" . How do I change the root shell so that it is always bash?

Thanks

Re: Change Root Shell From Fish to Bash

Posted: Wed Aug 13, 2014 3:50 pm
by bsdkeith
I think if you open a root terminal and run

Code: Select all

chsh
alter it to what you want and save it.

Re: Change Root Shell From Fish to Bash

Posted: Wed Aug 13, 2014 5:27 pm
by ericbsd
As root run

Code: Select all

chsh -s /usr/local/bin/bash
it will do what you want.