• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Quick BSD Question

Simple couple questions ...

First, how do I go about installing the bash shell? Is it as simple as cd'ing into /usr/ports/shells/bash2 and doing a 'make install'?

Second, after bash is installed how would I go about setting it as the default shell for either my user or the default system shell?
 
"cd /usr/ports/shells/bash2&&sudo make&&sudo make install"

When that is done, vipw and edit that.

**WARNING: Do not set the root's shell to bash.
 
I dont have sudo configured, is it unsafe to install as root? Also, why is it a bad idea for root to use bash? Would it be safe for root to use tcsh?

Sorry 'bout all the questions, I'm a Linux convert trying to get accusomed to FreeBSD ... so for I gotta say I like it alot though 😎
 


<< I dont have sudo configured, is it unsafe to install as root? >>



Its fine, but for my one liner its easier to use sudo. If you have to start out as root it adds atleast one more line to my explanation 😉



<< Also, why is it a bad idea for root to use bash? Would it be safe for root to use tcsh? >>



Only use the default shell for root (csh I believe). Atleast have it configured to use that shell. You can start up bash manually or from one of the config files for the shell. Why? Because if soemthing bad happens and you need to get into root without mounting /usr/local you will be able to with the default shells. You will NOT be able to if you use bash. dynamically linked files deep in the file system are not good for necessary items.



<< Sorry 'bout all the questions, I'm a Linux convert trying to get accusomed to FreeBSD ... so for I gotta say I like it alot though 😎 >>



Good deal.
 
Understood, I'll leave root alone 😀

I'm trying out tcsh with my user account now and may stick with that. It seems to do everything I need it too.

Thanks for the help.
 
Back
Top