This will prevent a User from logging into the system via ssh/samba etc.
The Message etc. must be in /etc/shells. The -s option makes it NOT interactive for the user to select shell.
chsh -s /etc/messages/message user
Default shell = /bin/bash
Info. got from skynet. - Cheers lads.