Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: security-firewall@mandrivalinux.org

Mandrake Linux: security-firewall@mandrivalinux.org


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


On Tue, May 31, 2005 at 07:42:01AM -0700, John Locke wrote:
> 
> 
> Tobel Graves wrote:
> 
> >Hi John,
> >
> >I think you should change your cron from:
> >
> >*/30 * * * *    root    /usr/sbin/ntpdate -s -u pool.ntp.org | /dev/null
> >to
> >*/30 * * * *    root    /usr/sbin/ntpdate -s -u pool.ntp.org > /dev/null
> >
> >using the  original command you are actually trying to execute  the 
> >/dev/null  file.
> >
> Hah, just discovered that. Thanks for the help. Actually changed it to:
> 
> */30 * * * *    root    /usr/sbin/ntpdate -s -u pool.ntp.org > /dev/null 
> 2>&1
> 
> because it also output something on stderr.

If you hit the ntp part of the web interface ever again, your changes
will be overwritten by the template mechanism and the file will get back
to its original content.

CVS has a fix which avoids the use of a cronjob completely and relies on
the ntpd daemon instead.
 

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________


Date Index | Thread Index

Looking for a job?



Advertisement (via La Vignette)