You have to both change your login shell with
chsh as well as add
/usr/local/bin/bash to your
I’ve heard it suggested that one “should” make a copy of
/private/var/lib/bash5 or somewhere else not modifiable by a non-admin account before using it. I’ve not thought this through as to whether it improves security in a noticeable way, and whether it has other consequences.
If your login shell is not listed in
/etc/shells then you will not be able to
ssh or otherwise remotely connect, as that is one requirement for a user account to not be treated as a local-only service-specific account, like