Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2002 15:37:29 -0800
From:      "Crist J. Clark" <cjc@FreeBSD.org>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>, Jens Schweikhardt <schweikh@schweikhardt.net>, freebsd-audit@FreeBSD.org
Subject:   Re: crontab changes for PR bin/22612; please comment
Message-ID:  <20020322153729.C41186@blossom.cjclark.org>
In-Reply-To: <p05101525b8c10898deca@[128.113.24.47]>; from drosih@rpi.edu on Fri, Mar 22, 2002 at 11:16:15AM -0500
References:  <20020318130904.A3869@schweikhardt.net> <p05101502b8bc01b04024@[128.113.24.47]> <20020320192624.A1258@schweikhardt.net> <p0510151fb8be8b748a93@[128.113.24.47]> <20020320210458.A13393@uriah.heep.sax.de> <p05101525b8c10898deca@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 22, 2002 at 11:16:15AM -0500, Garance A Drosihn wrote:
> At 9:04 PM +0100 3/20/02, Joerg Wunsch wrote:
> >As Garance A Drosihn wrote:
> >
> >>  You type  :q!
> >>  and you then see the message "installing new crontab".
> >>  You then think -- "Oh no!  What just happened?!?"
> >
> >In which case it would reinstall the old crontab only
> >anyway :), but I agree, it would startle me, too.
> >
> >How about md5-checking the files?
> 
> Well, if it were me I would probably go with the lazy
> fix and add the 1-second sleep.  However, it probably
> would be even "nicer to the user" to do an md5-check.

You can borrow the MD5-check code from src/usr.bin/chpass/edit.c.
-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

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




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