summaryrefslogtreecommitdiffstats
path: root/bin/ed
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2000-11-06 11:17:37 +0000
committerdwmalone <dwmalone@FreeBSD.org>2000-11-06 11:17:37 +0000
commit10728d93bce493063d23ddc3ab30f8031d541d00 (patch)
treec85e3d52e38e2ace7052bdecfc8bfbe7d773b203 /bin/ed
parent208f492793555d0b9d29675131253d80e53c226b (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud