Date: Fri, 14 Mar 1997 05:48:06 -0800 (PST) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/cron/cron do_command.c Message-ID: <199703141348.FAA19045@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 97/03/14 05:48:05 Modified: usr.sbin/cron/cron do_command.c Log: For some reason, the old login class code didn't seem to be working here. I suspect it was because the child exec code's parent was doing the initial lookups, then forking, then doing other things (possibly trashing the static data in the getpw*() buffer), then attempting to dereference *pwd and *lc. Also, no error checking appeared to be done - I've allowed it to fall back to the old "become user" code on critical failure rather than risk running a user's cron jobs as root. Revision Changes Path 1.11 +24 -13 src/usr.sbin/cron/cron/do_command.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703141348.FAA19045>