Hi
Сhange shell and home directory for your users editing the file "passwd" by means of the editor vi.
For every user you have to change substring
from "/sbin/nologin" => to "/bin/ash"
and
from "/home/<username>" to "/" (or other but existing directory)
As a result, the user line should look as follows:
username:x:50x:0:usergroup:/:/bin/ash