Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2000 03:17:38 -0800 (PST)
From:      David Malone <dwmalone@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/cron/crontab crontab.1 crontab.c
Message-ID:  <200011061117.DAA65223@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
dwmalone    2000/11/06 03:17:38 PST

  Modified files:
    usr.sbin/cron/crontab crontab.1 crontab.c 
  Log:
  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
  
  Revision  Changes    Path
  1.8       +7 -2      src/usr.sbin/cron/crontab/crontab.1
  1.14      +13 -9     src/usr.sbin/cron/crontab/crontab.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011061117.DAA65223>