#!/bin/bash

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

}
test





