summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
AgeCommit message (Expand)Author
2003-03-15Use strlcpy() instead of pre-checking the src len and using strcpy()Todd C. Miller
2003-03-12Move range sanity check out of get_number() and into get_range() sinceTodd C. Miller
2003-03-11Catch more syntax errors that were previously ignored. I've rewrittenTodd C. Miller
2003-03-10these pages all had bad section numbers in the .Xr's;Jason McIntyre
2003-03-10Log that cron started up after we detach from the controlling terminalTodd C. Miller
2003-03-10Change a e_username to e_cmd.Todd C. Miller
2003-03-10Back out changes to get_number() that I didn't intend to commit.Todd C. Miller
2003-03-10Do the check for missing command before the un_getchar(); otherwiseTodd C. Miller
2003-03-09Fix error line number reporting for syntax errors (noticed by mpech@).Todd C. Miller
2003-03-09Catch lines w/o EOF. Previously they were silently ignored.Todd C. Miller
2003-03-04Deref the correct passwd pointer in a Debug statement.Todd C. Miller
2003-02-28Fix double Debug() usage, for instance, Debug(DPARS|DEXT...)Mike Pechkin
2003-02-27Fix parsing of '0' and non-alphanumerics in steps; found by mpech@Todd C. Miller
2003-02-21Improved environment variable parser from FreeBSD (Thomas Quinot).Todd C. Miller
2003-02-20Sync with ISC cron-current + my at(1) integration.Todd C. Miller
2003-02-20If there is no cron.allow or cron.deny file, only the superuser may runTodd C. Miller
2003-02-20cron.{allow,deny}, not at.{allow,deny}; noticed by Dries SchellekensTodd C. Miller
2003-02-19Mention that /etc/crontab must be mode 0600 if it exists.Todd C. Miller
2003-02-19Move contents of /var/at into /var/cron since at is now intergrated intoTodd C. Miller
2003-02-18correct a typo from earlier todayTodd C. Miller
2003-02-18Use the SUN_LEN macro to set sun_len correctlyTodd C. Miller
2003-02-17Add a -n flag and version string; from vixieTodd C. Miller
2003-02-01typos;Jason McIntyre
2002-08-10Just zero out pw_passwd in the pw_dup()'d copy. There's no needTodd C. Miller
2002-08-08Move closelog() into log_close() function and call that insteadTodd C. Miller
2002-08-08Make wakeupKind an enum for clarity at Vixie's requestTodd C. Miller
2002-08-07paranoia: zero out pw_passwd since we don't need itTodd C. Miller
2002-08-04Extra paranoia -- check that pw_name matches the crontab user's name.Todd C. Miller
2002-08-02o Instead of passing "*system*" as the fname to process_crontab()Todd C. Miller
2002-07-17Include limits.h since we use LONG_MAX; we squeaked by with anTodd C. Miller
2002-07-15fix typo (pw vs. pwd) in unused codeTodd C. Miller
2002-07-15Pass e->pwd to auth_setpwd() to avoid extra passwd lookup in BSD auth routinesTodd C. Miller
2002-07-15Move login_close() out of #ifdef BSD_AUTH blockTodd C. Miller
2002-07-15-Wall was for testingTodd C. Miller
2002-07-15Move atrun(8) functionality into cron(8) proper. This fixes theTodd C. Miller
2002-07-12Do not collapse \\ -> \ in a command, the shell will be unhappy withTodd C. Miller
2002-07-11No need to compare sizes of new/old crontab file now that weTodd C. Miller
2002-07-11More syncing with my cron 4.0 patch tree, basically cosmetic:Todd C. Miller
2002-07-11Add a new error code for memory allocation failures, e_memory andTodd C. Miller
2002-07-09o Add _PATH_CRON_PID which is built up from PIDDIR and PIDFILE via stringTodd C. Miller
2002-07-09o Rename clean_turds() in crontab.c to die() and just _exit(ERROR_EXIT)Todd C. Miller
2002-07-09We already did a closelog(); no need for it here.Todd C. Miller
2002-07-08minor cosmetic change to reduce diffsTodd C. Miller
2002-07-08Merge in some changes from Paul Vixie's tree; most are cosmeticTodd C. Miller
2002-06-23uid_t and gid_t are unsignedTheo de Raadt
2002-06-21Correctly close the writing end of the pipe when dup'ing the fd toTodd C. Miller
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-05-28Kill an sscanf() in favor of strtol()Todd C. Miller
2002-05-28use %ld (long) for pidTheo de Raadt
2002-05-22Set close-on-exec flag for the socket cron selects on.Todd C. Miller