nologin is a program that logs the user connection (His username and tty) then exit.
It is generaly used with acounts with reduced privileges.