#!/bin/bash

function test()
{
        ret=`cat /etc/passwd | cut -f3 -d":" | sort -n | uniq -c |awk '{if($1 > 1){print $2}}'|xargs -I {} grep {} /etc/passwd`
        #echo $ret
		#$ret is not null
		if [[ -n "$ret" ]];then
			echo 1
		else
			echo 0
		fi

}
test





