Macに最初から入っている下記のシェル以外をログインシェルにしようとしたら
$ chsh -s /usr/local/bin/bash Changing shell for {USER}. Password for {USER}: chsh: /usr/local/bin/bash: non-standard shell
non-standard shell と言われ、変更出来ない。
/bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh
/etc/shellsに追加してあげれば良い。
$ cat /etc/shells # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh
↓
$ cat /etc/shells # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells. /bin/bash /bin/csh /bin/ksh /bin/sh /bin/tcsh /bin/zsh /usr/local/bin/bash
/etc/shellsの末尾に追加したいシェルのパスを追加すればOK