If creating a user with a shell of
/sbin/nologin, is there any benefit / need to running
passwd usernamegoeshere after creating the user and setting the password to something random or is that of no benefit?
I don't think this changes the answer, but this user might be used by cron for example as a way to run cron jobs with non-elevated privileges. It's not intended to be logged into by anyone via ssh, nor should they be permitted to do so.