#!/bin/bash

function test()
{
        ret=`grep "PASS_WARN_AGE" /etc/login.defs|grep -v "#"|awk '{print $2}'|grep -v "#"|tail -n 1`
    
		if [ $ret != 0 ];then
			echo 0
		else
			echo 1
		fi

}
test





