Friday, June 11, 2004

Nothing To Do With Linux

This one's Mac specific. Specifically Max OS X 10.3 and above:

When you log into a terminal window or (with X11) an xterm, you get your default shell, of course, and it defaults to /bin/bash. In 10.1 you could change this easily, but I had no idea how to do it in 10.3, until I read this macosxhints article. Basically:

  • In Finder, go to Applications/Utilities
  • Find Netinfo Manager
  • Click on Users
  • Click on the name of the account you want to change
  • Click on shell in the Properties window
  • First click on the lock below that and enter your password (administrative access required, I believe)
  • Now click on shell
  • Change the default shell. I use /bin/tcsh
  • Click on the lock again
  • Log out of the account and log in again.
  • The shell should be changed.

Note that there is a command line prompt to do this, but hey, this is a Mac. We don't need no stinkin' command lines.

According to comments to the article, you can now use the chsh command. Again: Hey!! This is a Mac!!