diff options
Diffstat (limited to 'usr.sbin/cron/atrun.c')
-rw-r--r-- | usr.sbin/cron/atrun.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/cron/atrun.c b/usr.sbin/cron/atrun.c index f3d8c148216..2129e3d14e9 100644 --- a/usr.sbin/cron/atrun.c +++ b/usr.sbin/cron/atrun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atrun.c,v 1.2 2002/07/15 22:16:41 millert Exp $ */ +/* $OpenBSD: atrun.c,v 1.3 2002/08/07 23:22:41 millert Exp $ */ /* * Copyright (c) 2002 Todd C. Miller <Todd.Miller@courtesan.com> @@ -28,7 +28,7 @@ */ #if !defined(lint) && !defined(LINT) -static const char rcsid[] = "$OpenBSD: atrun.c,v 1.2 2002/07/15 22:16:41 millert Exp $"; +static const char rcsid[] = "$OpenBSD: atrun.c,v 1.3 2002/08/07 23:22:41 millert Exp $"; #endif #include "cron.h" @@ -280,6 +280,7 @@ run_job(atjob *job, char *atfile) log_it("CRON", getpid(), "ORPHANED JOB", atfile); _exit(ERROR_EXIT); } + bzero(pw->pw_passwd, strlen(pw->pw_passwd)); /* XXX - is this needed now that we do auth_approval? */ if (pw->pw_expire && time(NULL) >= pw->pw_expire) { log_it(pw->pw_name, getpid(), "ACCOUNT EXPIRED, JOB ABORTED", |