Thanks to Apple Malverick update, I had to redo a lot of configurations to get my software to work again. During that update, I somehow locked myself out of my bash shell so I couldn't use the terminal. I keep getting "Permission denied" when it tries to open bash.
Thankfully, I have zsh shell installed. I have iTerm2 so I changed the profile to start with the zsh shell.
Unfortunately, that didn't work for me so I had to reverted back to an old bash version located. I did a lot of fiddling around, but I think these two steps did the trick.
Thankfully, I have zsh shell installed. I have iTerm2 so I changed the profile to start with the zsh shell.
- Open iTerm2
- Click "Profiles" from the menu
- Click "Open Profiles"
- Click "Edit Profiles"
- On the "General" tab, select a profile
- Click "Other Actions" at the bottom right
- Select "Duplicate Profile"
- On the left side, in the command section, select "Command"
- Enter "/bin/zsh --login" or wherever you think your zsh might be located
- Click "Profiles" from the menu again
- Select your new profile
Unfortunately, that didn't work for me so I had to reverted back to an old bash version located. I did a lot of fiddling around, but I think these two steps did the trick.
- Change your shell file
- sudo vim /etc/shells (it doesn't have to be vim, use whatever text editor you like)
- Change where your bash program is located
- Change your default shell
- chsh
- Fill out everything.
- For the longest time, I only filled out my name and got the "chsh: /bin/bash: non-standard shell"