Shriramana Sharma wrote:
Wednesday, 22 February 2006 08:58 samaye, James Knott alekhiit:
mentioned or if you're really worried, start it from a script, that pings your time server and then starts up ntp when successful.
So once started does ntpd keep syncing now and then?
Yes. As I understand it, it calculates the optimal interval for syncing. The whole point of ntp is to maintain sync over the long term.
Yes, and if you search around out there, you'll find a whole book on how to fine-tune these settings to your every wants needs and desires. I personally fire it up about once a week on the laptop by clicking an icon which simply runs su /etc/init.d/ntp start and then closes. -- kai ponte www.perfectreign.com linux - genuine windows replacement part
Kai Ponte wrote:
I personally fire it up about once a week on the laptop by clicking an icon which simply runs
su /etc/init.d/ntp start
and then closes.
If you're only after adhoc/on-demand time-sync, why not just run ntpdate? /Per Jessen, Zürich
Wednesday, 22 February 2006 18:00 samaye, Kai Ponte alekhiit:
su /etc/init.d/ntp start
The YaST NTP config speaks something of a chroot jail. If I am not mistaken this will run the ntp application in a confined environment -- so that someone who inserts a malicious script into an ntp server cannot (extensively or at all?) damage your system. Are you sure your manual su ntp command will have this safety? -- Tux #395953 resides at http://samvit.org playing with KDE 3.51 on SUSE Linux 10.0 $ date [] CCE +2006-02-23 W08-4 UTC+0530
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2006-02-23 at 12:46 +0530, Shriramana Sharma wrote:
Wednesday, 22 February 2006 18:00 samaye, Kai Ponte alekhiit:
su /etc/init.d/ntp start
The YaST NTP config speaks something of a chroot jail. If I am not mistaken this will run the ntp application in a confined environment -- so that someone who inserts a malicious script into an ntp server cannot (extensively or at all?) damage your system.
Are you sure your manual su ntp command will have this safety?
Yes, because you are calling a script that will set it up if told to do so. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD/biutTMYHG2NR9URArXqAKCRbxqxyWLHB9f6SIILK/oHI7y+yACeMH6v KgOIm57RqqTUpgMaOCx1uyI= =k2Nf -----END PGP SIGNATURE-----
Thursday, 23 February 2006 18:59 samaye, Carlos E. R. alekhiit:
su /etc/init.d/ntp start
Yes, because you are calling a script that will set it up if told to do so.
Aha -- NTPD_RUN_CHROOTED="yes" -- Tux #395953 resides at http://samvit.org playing with KDE 3.51 on SUSE Linux 10.0 $ date [] CCE +2006-02-23 W08-4 UTC+0530
participants (4)
-
Carlos E. R.
-
Kai Ponte
-
Per Jessen
-
Shriramana Sharma