From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 23 23:54:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6023A106564A for ; Sun, 23 Mar 2008 23:54:12 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (student.mired.org [66.92.153.77]) by mx1.freebsd.org (Postfix) with ESMTP id DA7F58FC18 for ; Sun, 23 Mar 2008 23:54:11 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 27932 invoked by uid 1001); 23 Mar 2008 19:53:16 -0400 Received: from bhuda.mired.org (192.168.195.1) by bhuda.mired.org (tmda-ofmipd) with ESMTP; Sun, 23 Mar 2008 19:53:15 -0400 Date: Sun, 23 Mar 2008 19:49:02 -0400 To: "Pavel Prokharau" Message-ID: <20080323194902.2fcc6095@bhuda.mired.org> In-Reply-To: <187fbcb00803230407q549fb9b8va6616d590763f76c@mail.gmail.com> References: <187fbcb00803230407q549fb9b8va6616d590763f76c@mail.gmail.com> Organization: Meyer Consulting X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, Yar Tikhiy Subject: Re: cron(8) related summer of code project X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Mar 2008 23:54:12 -0000 On Sun, 23 Mar 2008 13:07:08 +0200 "Pavel Prokharau" wrote: > I was thinking about updating our cron(8) implementation. This project is > mentioned in ideas list > http://www.freebsd.org/projects/ideas/#p-cron-and-atrun. > > For now my proposal is following: > > * update the code base to ISC (OpenBSD already has it for a while) > > * incorporate changes other BSDs has. First of all it's trivial security > fixes OpenBSD has (like strcpy -> strlcpy) > > * atrun(8) improvements as mentioned on ideas page > > * add privilege separation to cron(8). Its code base is really old and > likely to have security bugs. > > I'd like this work to be done a summer of code project. But I'm not sure > if amount of work proposed sufficient for summer of code. > > If you have some ideas about further improvements to cron(8) I'd be glad > hear them and work on it. Not cron, but cron-related. I'd like to see the periodic infrastructure made available to users. This isn't hard, but you have to be careful about security. A last script in each of the daily/weekly/monthly periodic directories that for each user (does each have to ask ala cron? Does it just look for ~/periodic? ???), then runs periodic as that user with the proper arguments. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.