[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Checking sendmail.cf file at boot time



On Sat, 26 Jul 2003, Robert L Cochran wrote:

> That is not quite true. Sendmail.cf is not actually regenerated unless
> the sendmail.mc file is changed. Make doesn't do anything if there are
> no changes to the source. To test this, reboot your machine and check
> the date and time of /etc/mail/sendmail.cf. Notice it does not change
> from reboot to reboot.

Right. It uses make, which checks timestamps. That protects against some, 
but not all, of the substitutions you're concerned about.

At any rate, I'm not sure why you think an init script should do this. 
That's what tripwire et al are for ;-)

later,
chris




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]