add check_login_shell for Solaris

I've added check_login_shell for Solaris.

same as #77