Displaying 1 result from an estimated 1 matches for "chkpass".
Did you mean:
chgpass
2003 Jun 02
4
quick poppassd question
...}
/* begin added code */
if ((pw->pw_uid) < 1001)
{
syslog (LOG_ERR, "Priveleged user, %s", user);
sleep (5);
WriteToClient ("500 Old password is incorrect.");
exit(1);
}
/* end added code */
if (chkPass (user, oldpass, pw) == FAILURE)
{
syslog (LOG_ERR, "Incorrect password from %s", user);
sleep (5);
WriteToClient ("500 Old password is incorrect.");
exit(1);
}
--- cut ---
Perhaps if this passes everyone's scrutiny, it coul...