Mac Terminal: changed my shell, now can't start it
- by kch
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.
How do I reset my shell so I can start Terminal again?
How do I set my shell to bash installed via MacPorts in a way that it'll work?
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.