[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

Unable to Run Alternate Shell in Mac OS X

In an effort to learn more about using the command line on my MacBook, I downloaded and installed the "friendly interactive shell", also know as fish (http://fishshell.com/).

I followed the instructions in the following link:

The last step in the above link is:
"Make fish the default shell. Append opt/local/bin/fish to the /etc/shells file. Then open the Accounts System Preferences panel, unlock it, Control-click on your account picture and select Advanced Options. Set the Login Shell to opt/local/bin/fish."

However, it's not working. When I try to run Terminal, I'm getting the following error message:
"You are not authorized to run this application. The administrator has set your shell to an illegal value."

How can I fix this?
1 Solution
Contrary to the given directions, make sure you start the path to fish with "/", i.e.:

It should be this way in /etc/shells, and where you've set it as your default shell.
anuneznycAuthor Commented:
Wow. So obvious! And yet I totally failed to start the path with a "/".

Thank you very much!!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now