summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron
Commit message (Collapse)AuthorAgeFilesLines
* Use err(3). Rewrote man page in mdoc format.charnier1997-09-1514-343/+347
|
* NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".pst1997-06-291-1/+1
| | | | | | NOPIC is used to not generate a shared library, not NOSHARED. Make NOSHARED advisory where appropriate. Remove bogus NOSHARED (kbdio).
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-312-4/+4
| | | | posix standard on the topic.
* Tone down the paranoia a bit in from the previous commit. setusercontext()peter1997-03-141-11/+7
| | | | | automatically Does The Right Thing when lc == NULL, which just happens to be what the extra code in cron was trying to do. Simplify.
* For some reason, the old login class code didn't seem to be working here.peter1997-03-141-13/+24
| | | | | | | | | 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.
* Revert $FreeBSD$ to $Id$peter1997-02-2224-24/+24
|
* crontab(5) incorrectly documented the dom/month arguments.mpp1997-02-131-2/+2
| | | | They have valid ranges of 1-31 and 1-12, not 0-31 and 0-12.
* Fix compile breakage: link against libutil.davidn1997-01-211-0/+2
|
* Make cron login class savvy.davidn1997-01-202-0/+17
| | | | | | Use setusercontext() rather than setuid()/setgid()/setlogin()/initgroups() which is all handled. Login environment is NOT set by this call as crontab provides its own means of doing so.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1424-24/+24
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Replace my "inane" usage of snprintf to copy strings with strncpy aspst1996-12-179-41/+102
| | | | | | | | | | used by OpenBSD. (Quite frankly, I think it's perfectly reasonable to use snprintf to copy strings, given that the semantics for strncpy() are utterly idiotic and there is no POSIX sstrncpy().) While I'm at it, incorporate some of OpenBSD's bugfixes to cron. NOT for 2.2
* Close yet another buffer overrunpst1996-12-161-2/+2
|
* Add sendmail option '-oi'wosch1996-11-101-2/+3
| | | | | | | | -oi Do not take dots on a line by themselves as a message terminator. Now this crontab entry works: * * * * * echo foo; echo .; echo blah
* personal (ie: with the crontab command) cron tabs were broken by thepeter1996-09-101-2/+2
| | | | | last change. :-( ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s)
* Fix some buffer overflow problems...pst1996-09-081-3/+3
|
* Gratuitous whitespace change so that I can commit the source of the recentpst1996-08-051-3/+1
| | | | | | buffer overflow patch. Reviewed by: pst Submitted by: Dave Andersen <angio@aros.net>
* Fix up some more buffer overflow problems.pst1996-08-052-5/+9
|
* fix: debug flag 'test' cause endless loopwosch1996-06-302-6/+15
| | | | | | document debug flags close PR bin/683
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-242-6/+6
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Quick patch to fix a bug where issuing ctl-c while in crontab -escrappy1996-04-091-3/+11
| | | | | | leaves editor running in background (PR: bin/751) Submitted by: candy@fct.kgc.co.jp (Toshihiro Kanda)
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-303-313/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Fix a bug that prevented %'s and \'s from being passed to the programjoerg1995-09-101-2/+11
| | | | | | invoked. Submitted by: fenner@parc.xerox.com (Bill Fenner)
* Check for expired passwords before allowing access to the system.mpp1995-08-281-1/+6
|
* Remove LOG_FILE definition, close PR 595ache1995-07-061-2/+2
| | | | Submitted by: roberto@blaise.ibp.fr
* Remove trailing whitespace.rgrimes1995-05-309-22/+22
|
* Fix nested comments for -Wcomment warnings.rgrimes1995-05-091-7/+7
|
* HAVE_SAVED_UIDS not depends of BSD version but dependsache1995-04-291-2/+5
| | | | of _POSIX_SAVED_IDS from unistd.h, fix it.
* Fix typo in HAVE_SAVED_UIDS defineache1995-04-291-2/+2
|
* Fix MAILTO hole by passing -t to sendmailache1995-04-142-33/+5
| | | | Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu>
* Really fix MAILTO hole by parsing spaces.ache1995-04-132-5/+29
| | | | Remove local bitstring copy
* Don't set -or0s (timeout 0) for possible network MAILTOache1995-04-121-3/+2
|
* Fix home dir cheatingache1995-04-121-5/+3
|
* Close MAILTO security holeache1995-04-121-3/+7
|
* Now crontab works not only for vi editor, i.e. refers toache1994-12-211-14/+13
| | | | file name not to file fd
* Make /usr/bin/crontab install setuid root. (doesn't work otherwise)smace1994-11-061-0/+4
| | | | | The distributed makefile in the package installs it setuid root.. Reviewed by: jkh
* Use LDDESTDIR and DPADD more consistently with what Bruce suggests..jkh1994-08-292-5/+13
| | | | Submitted by: jkh
* Make the LDADD stuff work properly with obj dirs. Whoops.jkh1994-08-292-1/+10
| | | | Submitted by: jkh
* Prevent installation.jkh1994-08-281-0/+3
| | | | Submitted by: jkh
* Set proper destination directory for cron.jkh1994-08-281-0/+2
| | | | Submitted by: jkh
* Paul Vixie's cron, version 3.0. Munged into bmake format. If this goesjkh1994-08-2735-0/+6147
well, expect our two seperate directories for cron and crontab to go away shortly. Submitted by: jkh
OpenPOWER on IntegriCloud