Change Root Shell From Fish to Bash

Post your general questions or comments about GhostBSD here!

Change Root Shell From Fish to Bash

Postby leegold » Wed Aug 13, 2014 6:39 pm

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
leegold
 
Posts: 11
Joined: Wed Aug 28, 2013 2:58 pm

Change Root Shell From Fish to Bash

 

Re: Change Root Shell From Fish to Bash

Postby bsdkeith » Wed Aug 13, 2014 6:50 pm

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 between 1999 - 2014; now a BSD user.
User avatar
bsdkeith
 
Posts: 102
Joined: Wed Jun 12, 2013 6:36 pm
Location: Surrey/Hants Border, England

Re: Change Root Shell From Fish to Bash

Postby ericbsd » Wed Aug 13, 2014 8:27 pm

As root run
Code: Select all
chsh -s /usr/local/bin/bash
it will do what you want.
ericbsd
Site Admin
 
Posts: 404
Joined: Mon Nov 19, 2012 11:54 pm


Return to General Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron