Change shell to sh
# chsh -s /bin/sh <username>
Change shell to nologin
# chsh -s /usr/sbin/nologin <username>
Change shell to scponly
# chsh -s /usr/local/bin/scponly <username>
Quickly checking which users have non nologin shells
# grep --invert-match 'nologin' /etc/passwd