How to set for a user a non-login shell?

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

  1. The problem statement, all variables and given/known data:
    I am a root in a Unix system. My shell is bash.

  2. Relevant commands, code, scripts, algorithms:
    How to set for a certain user:

  • a non-login interactive shell,
  • a login, non-interactive shell,
  • a non-login, non-interactive shell.
  1. The attempts at a solution (include all code and scripts):
    I read everything I could find, I only found information which files are read by different types of shells. I cannot find anywhere how a root can set a certain shell. I know about useradd and adduser commands where I can use the option -s but I do not know what to put after -s to set a non-interactive shell.

  2. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
    AGH, profesor Nalepa

Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).