charnier
bdee4a3e4b
Use err(3). Rewrote man page in mdoc format.
1997-09-15 06:39:25 +00:00
pst
1b991716a4
NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
...
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).
1997-06-29 06:03:42 +00:00
imp
691010efad
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
da35a9d7c3
Tone down the paranoia a bit in from the previous commit. setusercontext()
...
automatically Does The Right Thing when lc == NULL, which just happens to
be what the extra code in cron was trying to do. Simplify.
1997-03-14 14:45:30 +00:00
peter
8e1c208b61
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.
1997-03-14 13:48:04 +00:00
peter
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
mpp
67a1a81fad
crontab(5) incorrectly documented the dom/month arguments.
...
They have valid ranges of 1-31 and 1-12, not 0-31 and 0-12.
1997-02-13 07:16:12 +00:00
davidn
f03888db80
Fix compile breakage: link against libutil.
1997-01-21 05:56:38 +00:00
davidn
f4e00f119e
Make cron login class savvy.
...
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.
1997-01-20 15:31:33 +00:00
jkh
808a36ef65
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
pst
253df5b08a
Replace my "inane" usage of snprintf to copy strings with strncpy as
...
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
1996-12-17 00:55:20 +00:00
pst
ec712ef476
Close yet another buffer overrun
1996-12-16 18:21:00 +00:00
wosch
e15ba7df33
Add sendmail option '-oi'
...
-oi Do not take dots on a line by themselves as a
message terminator.
Now this crontab entry works:
* * * * * echo foo; echo .; echo blah
1996-11-10 04:46:58 +00:00
peter
9733973c2d
personal (ie: with the crontab command) cron tabs were broken by the
...
last change. :-(
ie: /var/cron/log would report: .. cron[206]: (usage) CAN'T OPEN (%s/%s)
1996-09-10 03:38:20 +00:00
pst
c292e5a7ba
Fix some buffer overflow problems...
1996-09-08 23:50:23 +00:00
pst
67d02bf67e
Gratuitous whitespace change so that I can commit the source of the recent
...
buffer overflow patch.
Reviewed by: pst
Submitted by: Dave Andersen <angio@aros.net>
1996-08-05 00:50:02 +00:00
pst
1386f27d09
Fix up some more buffer overflow problems.
1996-08-05 00:31:27 +00:00
wosch
2025f2a59a
fix: debug flag 'test' cause endless loop
...
document debug flags
close PR bin/683
1996-06-30 22:11:51 +00:00
jkh
8eb37231d4
Bring in my changes for removing the pestilent obj links (unless you
...
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
scrappy
35b5c03864
Quick patch to fix a bug where issuing ctl-c while in crontab -e
...
leaves editor running in background (PR: bin/751)
Submitted by: candy@fct.kgc.co.jp (Toshihiro Kanda)
1996-04-09 20:28:16 +00:00
peter
c3f352d4ad
This commit was generated by cvs2svn to compensate for changes in r13122,
...
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
joerg
b4e6cbbd8a
Fix a bug that prevented %'s and \'s from being passed to the program
...
invoked.
Submitted by: fenner@parc.xerox.com (Bill Fenner)
1995-09-10 13:02:56 +00:00
mpp
684146e8ce
Check for expired passwords before allowing access to the system.
1995-08-28 21:30:59 +00:00
ache
f87500968f
Remove LOG_FILE definition, close PR 595
...
Submitted by: roberto@blaise.ibp.fr
1995-07-06 22:47:30 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
rgrimes
f2df5b608b
Fix nested comments for -Wcomment warnings.
1995-05-09 12:48:21 +00:00
ache
d0845530db
HAVE_SAVED_UIDS not depends of BSD version but depends
...
of _POSIX_SAVED_IDS from unistd.h, fix it.
1995-04-29 15:16:41 +00:00
ache
43bf61af63
Fix typo in HAVE_SAVED_UIDS define
1995-04-29 13:25:13 +00:00
ache
d12c09e5c2
Fix MAILTO hole by passing -t to sendmail
...
Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu>
1995-04-14 21:54:18 +00:00
ache
81860156cc
Really fix MAILTO hole by parsing spaces.
...
Remove local bitstring copy
1995-04-13 20:58:13 +00:00
ache
e3bdb075c7
Don't set -or0s (timeout 0) for possible network MAILTO
1995-04-12 19:28:30 +00:00
ache
2e4fea754b
Fix home dir cheating
1995-04-12 19:04:26 +00:00
ache
64adcd35a4
Close MAILTO security hole
1995-04-12 18:57:37 +00:00
ache
bf3a1964a9
Now crontab works not only for vi editor, i.e. refers to
...
file name not to file fd
1994-12-21 11:06:08 +00:00
smace
ef18154140
Make /usr/bin/crontab install setuid root. (doesn't work otherwise)
...
The distributed makefile in the package installs it setuid root..
Reviewed by: jkh
1994-11-06 01:13:59 +00:00
jkh
4e29f11c60
Use LDDESTDIR and DPADD more consistently with what Bruce suggests..
...
Submitted by: jkh
1994-08-29 18:42:12 +00:00
jkh
b5fd718695
Make the LDADD stuff work properly with obj dirs. Whoops.
...
Submitted by: jkh
1994-08-29 07:22:41 +00:00
jkh
a0d92e8d14
Prevent installation.
...
Submitted by: jkh
1994-08-28 13:05:23 +00:00
jkh
fa20e1be69
Set proper destination directory for cron.
...
Submitted by: jkh
1994-08-28 13:05:14 +00:00
jkh
54a3fb7337
Paul Vixie's cron, version 3.0. Munged into bmake format. If this goes
...
well, expect our two seperate directories for cron and crontab to go away
shortly.
Submitted by: jkh
1994-08-27 13:43:04 +00:00