#!/bin/bash

function test()
{
        ret=`grep "deny=" /etc/pam.d/sshd |grep -v "#"|awk -F 'deny=' '{print $2}'|awk '$1 >= 5 {print $1}'|grep -v "#"`
        #echo $ret
		#$ret is not null
		if [[ -n "$ret" ]];then
			echo 0
		else
			echo 1
		fi

}
test





