summaryrefslogtreecommitdiff
path: root/usr.sbin/cron
AgeCommit message (Collapse)Author
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-08-21snprintf sprinkles; solar@false.com & ITheo de Raadt
2000-08-21correct tmp file path; solar@false.comTheo de Raadt
2000-08-21swap_uids_back; solar@false.comTheo de Raadt
2000-08-21closelog, and check for various child setup failures; solar@false.comTheo de Raadt
2000-08-21prototype repairTheo de Raadt
2000-08-21strncpy not safe on overlapping stringsTheo de Raadt
2000-08-21save errno in handlerTheo de Raadt
2000-08-20Add calls to setusercontext() and login_get*(). We basically callTodd C. Miller
setusercontext() in most places where previously we did a setlogin(). Add default login.conf file and put root in the "daemon" login class.
2000-06-03Set SIGCHLD to SIG_DFL not SIG_IGN to prevent "perl -w" fromTodd C. Miller
complaining "Can't ignore signal CHLD, forcing to default". Setting SIGCHLD to SIG_IGN means "don't provide exit status for my children" on some OSes which is not what we want--we just don't want to catch SIGCHLD since our parent does that for us.
2000-04-15- `coexist', not `co-exist'; it's not hyphenated.Aaron Campbell
- Correct some .Nm usage.
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
2000-03-18fix parsing of commands after @ keywords and hourly bitmap handling;Theo de Raadt
sheldonh@uunet.co.za
2000-01-10the theTheo de Raadt
1999-11-20Use mkstemp() for the temp file created in the tabs dir andTodd C. Miller
clean up the temp file nicely if we are interupted.
1999-08-30in cron_popen(), do an initgroups, setlogin() and chdir to the user'sTodd C. Miller
home dir to make things consistent with what cron does when executing a normal command on behalf of the user. I originally didn't think this was worth doing but changed my mind.
1999-08-29Add comment to remind people not to use args in MAILARGS that willTodd C. Miller
cause sendmail to drop it's setuid privs.
1999-08-28Run sendmail as the user corresponding to the crontab entry.Todd C. Miller
This keeps a user from abusing sendmail via the MAILTO var. Had to drop -or0s from MAILARGS since that causes sendmail to drop its privs (contrary to the sendmail docs).
1999-08-27Make sure argv gets NULL terminated if cron entry has >= MAX_ARGS arguments.Todd C. Miller
Gleaned from RedHat info.
1999-08-06uid_t and gid_t, and use %uTheo de Raadt
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-07-02consistent .Dd usage; proper format is: .Dd Month DD, YYYYAaron Campbell
1999-06-18new mandoc cron(8), crontab(1), and crontab(5) man pages; kwesterback@home.comAaron Campbell
1999-06-05remove trailing whitespace, some Nm cleanupAaron Campbell
1999-05-29Check size as well as mtime when deciding whether or not the fileTodd C. Miller
was changed during edit. Crontab patch from <andrew@untraceable.net>. It may be better to simply do a real compare inline.
1999-05-23getopt(3) returns -1, not EOFAaron Campbell
1999-03-10Daylight Saving Time, not savingsPaul Janzen
1998-07-12disable debugging in crontabTheo de Raadt
1998-07-10do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabblingTheo de Raadt
1998-05-08when handling % line breaks, correctly handle escaped % which should be ↵Theo de Raadt
embedded; fenner@parc.xerox.com
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1997-12-22handle timing normally except when clock jumps between 1 and 3 hours. If itTheo de Raadt
jumps, attempt as best as possible to gaurantee that jobs DO run, but only run ONCE; patch by thompson@.tgsoft.com
1997-09-21$OpenBSD$Theo de Raadt
1997-08-04save errno in sigchld handlersTheo de Raadt
1997-07-17doc @ commands; mouseTheo de Raadt
1997-04-12waitpid() can return -1 -- give a useful error message if it does.Todd C. Miller
1997-04-12ign some signals for editorTheo de Raadt
1997-04-12support SIGSTOP in editor, I cannot believe this has always been busted!Theo de Raadt
1996-12-25no compile test after last change: no need for that umask too, i guessMichael Shalayeff
1996-12-25do not need umask for mkstempTheo de Raadt
1996-12-17use snprintf when storing the string from strerror(). Who knows howTodd C. Miller
long it could be esp. when locales come into the picture.
1996-12-16avoid more oflows; at this stage paranoia exceeds reality by a lot since our ↵Theo de Raadt
passwd suite is fascist
1996-12-14Check to make sure first char of command is not '*' since that willTodd C. Miller
alway be a syntax error.
1996-12-07months are from 1-12 not 0-12, netbsd pr#2806, mouse@Rodents.Montreal.QC.CATheo de Raadt
1996-11-01Check malloc/strdup ret val and deal.Todd C. Miller
1996-10-31Proper strncpy() usage.Todd C. Miller
1996-10-25proactive buf checkTheo de Raadt
1996-09-25Fixed buffer overflow.bitblt