if ($username =~ $inusername && $inuser_passwd eq crypt($user_passwd, $inuser_passwd)){ return 1;