diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2000-11-06 11:17:37 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2000-11-06 11:17:37 +0000 |
commit | 10728d93bce493063d23ddc3ab30f8031d541d00 (patch) | |
tree | c85e3d52e38e2ace7052bdecfc8bfbe7d773b203 /bin/ed | |
parent | 208f492793555d0b9d29675131253d80e53c226b (diff) | |
download | FreeBSD-src-10728d93bce493063d23ddc3ab30f8031d541d00.zip FreeBSD-src-10728d93bce493063d23ddc3ab30f8031d541d00.tar.gz |
Attempt to fix problem with users being able to convince the crontab
program to read any file which is a valid crontab file.
The fix is based on that used in NetBSD and OpenBSD - we keep the
file open while the user is editing it. This means that files must
be edited in place. Cron attempts to warn you if your editor does
not do this. The fact that the file must be edited in place is also
noted in the man page.
This patch has been confirmed to work by atleast one person on
-security and has been tested locally.
Obtained from: OpenBSD
Diffstat (limited to 'bin/ed')
0 files changed, 0 insertions, 0 deletions