diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1995-08-28 21:30:59 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1995-08-28 21:30:59 +0000 |
| commit | ae532ecb79a736724b77e8ceab00bb73ea1e3e18 (patch) | |
| tree | 67278d75d3abf5f6772c71401cc931a0c8700dee /libexec/ftpd | |
| parent | d1017b80bf6700bda12884c8a6c4d7c8793900de (diff) | |
Notes
Diffstat (limited to 'libexec/ftpd')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 8776124171c5..832f175dffad 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ftpd.c,v 1.10 1995/05/30 05:45:58 rgrimes Exp $ + * $Id: ftpd.c,v 1.11 1995/08/05 19:12:05 pst Exp $ */ #ifndef lint @@ -579,6 +579,7 @@ pass(passwd) #endif /* The strcmp does not catch null passwords! */ if (pw == NULL || *pw->pw_passwd == '\0' || + (pw->pw_expire && time(NULL) >= pw->pw_expire) || strcmp(xpasswd, pw->pw_passwd)) { reply(530, "Login incorrect."); if (logging) |
