How to set bash as your default login shell in PCBSD

I am a Linuxer that moved to *BSD. Because I am used with the bash tricks, I will set bash as my user’s default login shell, in PCBSD 9.0 .

Watch Free Movies

Install bash with this command (if it is already installed, nothing will happen), used as root: # pkg_add -r bash

Check if you have “/bin/bash” listed in /etc/shells. If not, add it by hand, as root:

# echo "/bin/bash" >> /etc/shells

Set bash as your user’s default login shell, with the following command, as root:

# chsh -s /bin/bash username

Scroll to Top