Change Default UNIX Shell

This article describes how to change your default shell - from bash to tcsh or from tcsh to bash.

Procedure

  1. Login to bohr
    ssh bohr
  2. Once logged in, use chsh to change your default shell
    > chsh
    Changing login shell for username on *all* ACMAINT hosts.
    Enter existing password: 
    Old shell: /usr/local/bin/bash
    New shell [/usr/local/bin/bash]:
    1. If you would like to switch to tcsh, use
      /usr/local/bin/tcsh
    2. If you would like to switch to bash, use
      /usr/local/bin/bash
  3. Once you enter one of the above, hit enter and you will get a confirmation message. You must then logout of your current workstation and login for the change to take effect.

Notes

  • This MUST be done on bohr. This will not work when done from any other host in Physics.
  • If you are off-campus, use the following ssh syntax to get to bohr
    ssh username@bohr.physics.purdue.edu
  • This is something that you, the user, must do yourself. No-one else can do this for you.
wiki/software/unix_systems/chsh.txt · Last modified: 2010/08/31 12:40 by Keith A McDermott