if ($nullpw) {
printf PIPE "Subject: Your missing passwd on %s\n\n", $host;
printf PIPE "On the machine named \"%s\", your password has not\n",
$host;
printf PIPE "yet been set. This lets anyone login as you without\n";
printf PIPE "having to present password, so please try to\n";
} else {
printf PIPE "Subject: Your trivial passwd on %s\n\n", $host;
printf PIPE "On the machine named \"%s\", your passwd is \"%s\".\n",
$host, $passwd;
printf PIPE "This is considered very easy to guess, so please\n";
}
printf PIPE "fix it at your earliest possible convenience.\n";
printf PIPE "\nOtherwise your account may soon be de-activated!\n";
printf PIPE "\nThanks,\n\n--daemon\n";
close PIPE;
}