ntpd
Hi,
How do I use ntpd ??? Can I set something up in cron to sync time from a free public time server ??? Is that ok or is there any security issues there ??? If not and that's the way to go, then how do I do it !!!! |
I have not used ntpd, but there seems to be a lot of info in the package. Have you read this?
Any connection to an external site is open to security issues. How accurate do you want your clock to be?? :-} Is it worth the risk? Joe |
If you setup a full blown NTP server then you don't need to run anything at regular intervals as the NTP daemon takes care of all that for you, alternatively if you don't want to run a server all the time you can regularly (say using cron) get ntpdate to sync with a name server. This isn't as accurate as running an NTP server but if its only to keep the clock accurate from a human point of view is more than sufficient. I use the ntpdate method at home sucessfully...
As for security issues I don't believe there are that many for NTP, I know that they recently closed a couple with the last release so I think things are pretty good. cheers Jamie... |
Jamie,
Thanks. I tried ntpdate and it worked great. I went a head and setup the cron to execute once a day also a startup script incase of server reboot. I am using this public time server 128.118.46.3. I used it as #ntpdate 128.118.46.3 I got this back 28 Aug 17:11:55 ntpdate[27367]: step time server 128.118.46.3 offset 75.395817 sec It worked great. Thanks again. |
All times are GMT -5. The time now is 12:47 AM. |