if (!$test) { print "
$sr exists on the system
\n"; open(PASS, '/tmp/passwd.$$'); while() { chomp; my @fields=split(':', $_); if (grep {$fields[3] !~ /5612/} @fields) { print "You cannot change the passwd on system accounts.
\n"; print "This is being logged and will be reported.
\n"; } close(PASS); } }