Mac Terminal: changed my shell, now can't start it

Posted by kch on Super User See other posts from Super User or by kch
Published on 2009-08-15T22:15:46Z Indexed on 2011/11/28 1:55 UTC
Read the original article Hit count: 280

Filed under:
|
|
|
|

I installed bash 4.0 via MacPorts, then used sudo chsh -s /opt/local/bin/bash my_user to change my shell.

Before that I tried just running plain chsh without sudo, but it wouldn't allow me to change my shell to that path.

Now when I try to start Terminal I'm getting a message that my shell has an illegal value, so Terminal won't start. I click Quit, and, unsurprisingly but annoyingly, it quits immediately.

lame terminal

  1. How do I reset my shell so I can start Terminal again?
  2. How do I set my shell to bash installed via MacPorts in a way that it'll work?
  3. Why does Terminal think my shell is illegal anyway? Is it siding with the neo-prohibitionists?

Mac OS X 10.5.8. Everything super mega up-to-date.

© Super User or respective owner

Related posts about mac

Related posts about bash