the given procedure should note, that chsh has to be run as root and needs a user argument, if the shell should not be changed for root.
sudo chsh -s /usr/local/bin/bash someuser
Run as non-root you get a password prompt, where it is not obvious that the password is for root:
chsh -s /usr/local/bin/bash
(In reply to Jürgen Weber from comment #0)
FreeBSD 12.2-STABLE #2 r365646
lrwxr-xr-x 1 root wheel 6 12 Sep 16:39 /usr/bin/chsh -> chpass
-r-sr-xr-x 1 root wheel 23808 12 Sep 16:39 /usr/bin/chpass
You do not need to be root - notice the permissions on chpass
The password requested, if run by a user, is the user's password and not root.
OK, deep in the chsh man page it says that you must enter a password.
Still, it is unusual for a user to have to enter his password.
It should be mentioned in the doc section, please.