From the KnowledgeBase

Title:
Unix: How do I enable/change the default Unix shell on my account?
Synopsis:
How do I enable/change the default Unix shell on my account?


Solution:

New Unix accounts (Undergraduate accounts excepted) will be set up with a default Unix shell of /bin/nologin that prohibits login access. If you wish to use a your Unix account, simply change this option by using the Enable Unix Account page.

  • Use your University netID and password to log in
  • Select the Enable option
  • Click on the Submit button. You will then have enabled your account with the C-Shell (/bin/csh)
  • *All* operations through this web page will take up to five minutes to take effect.

If you never use your Unix account to log in to an OIT Unix server, you also have the option of setting your shell to the Nologin option (/bin/nologin). This way, if your password were ever compromised, a hacker could not use your account and password to access an OIT Unix server.

The following shells are acceptable as login shells:

  • /bin/sh
  • /bin/csh
  • /bin/ksh
  • /bin/bash
  • /bin/tcsh
  • /bin/zsh
  • /bin/nologin (disable access)

Please Note: If you use the Central File Server (also known as your H: drive) for data storage space or web page publishing, you will not notice any difference if your shell is set to the Nologin option (/bin/nologin). However, if you want to use SSH or Secure FTP to connect to your Unix account, you will need to enable your account.

More information:
The following links contain documentation written for individuals who are interested in learning about Unix computing at Princeton. Many University departments own and support Unix systems and often make these available to their staff and students. Those using departmental Unix systems will also need instructions from the department on connecting to and logging in to the computer.

Last Updated:
February 28, 2011

Solution ID:
5216