How to Change User’s Shell Environment in FreeBSD

In FreeBSD, user’s default shell environment is either sh or csh and I have installed Bash in FreeBSD and would like to change user’s shell environment to Bash.

To change user’s shell environment in FreeBSD.


shell> chsh -s /usr/local/bin/bash userid

To change your shell environment in FreeBSD


shell> chsh -s /usr/local/bin/bash

Related posts:

  1. Change or Set User Password in FreeBSD If you notice, during FreeBSD installation, it doesn’t have a...
  2. How to Change Hostname in Unix FreeBSD We have interesting hostname for our all our servers. Some...
  3. screen in FreeBSD default to csh as suppose to bash (preferred) After changing bash shell to a new user using chsh,...
  4. How to Create User with useradd in FreeBSD You can invoke “adduser” command in FreeBSD in order to...
  5. How to Change Timezone in FreeBSD By default, FreeBSD is configured with UTC timezone. In order...
  6. TextMate: Creating New Project in Shell Instantly Been using TextMate recently, really loving it like hell. There...
  7. How to Enable Suidperl in FreeBSD Enable Suidperl In FreeBSD Due to security issues, by default...
  8. Setup Sendmail Smart Relay in FreeBSD It’s good that to route all your outgoing email to...
  9. Create Root Privilege User on MySQL By default, MySQL root privileges user is “root”, I always...
  10. Upgrade to php52 on FreeBSD By default, after portsnap to latest FreeBSD port tree, it...

Tags: , , , , ,

Leave a Reply