We read
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank
causes the system to select the default login shell.
However, trying it gives
# chsh -s '' nobody
chsh: Warning: does not exist
Source: shadow Source-Version: 1:4.17.3-1 Upstream fixed this in 4.17.3.