Change Root Shell From Fish to Bash

Post your general questions or comments about GhostBSD here!
Post Reply
leegold
Posts: 23
Joined: Wed Aug 28, 2013 11:58 am

Change Root Shell From Fish to Bash

Post 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
User avatar
bsdkeith
Posts: 129
Joined: Wed Jun 12, 2013 3:36 pm
Location: Surrey/Hants Border, England

Re: Change Root Shell From Fish to Bash

Post 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.
Linux user since 1999; & now a BSD user.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Change Root Shell From Fish to Bash

Post by ericbsd »

As root run

Code: Select all

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