Re: crontab changes for PR bin/22612; please comment

"Crist J. Clark" <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
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                     |     [email protected]
                                   |     [email protected]
http://people.freebsd.org/~cjc/    |     [email protected]

To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.