Kai Ponte wrote:
If you're only after adhoc/on-demand time-sync, why not just run ntpdate?
Well, a few reasons:
First, I cannot find any good documentation.
Did you try "man ntpdate"? That produces about a page and half on my 10.1 beta3 system.
Belive it or not, I did. I almost always due - in spite of the lack of information I get. <quote> The NTP distribution does not include man pages. To learn more about the NTP protocol and this software, please install the xntp-doc package included in you SuSE Linux distribution. </quote> Not much there, but then I didn't expect much from a man page. :P
Second, it seems to do the same as ntp start.
"/etc/init.d/ntp start" is a script that starts the ntpd daemon. ntpdate just sets set time and date and exits.
Third, it appears to be depricated from what I can find on google.
Yeah, I think the ntpdate function is now covered by "ntpd -q" - maybe that's what you've got the startup script configured to do? If so, you could just do "ntpd -q".
Fourth, I still have to su to run it.
Yep.
Now, it would be nice if changing the system date/time on a single-user system could be made a non-root action.
I think you can set that up using "sudoers".
Hmm...will look into this. -- kai ponte www.perfectreign.com || www.livebeans.com linux - genuine windows replacement part
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2006-02-22 at 10:32 -0800, Kai Ponte wrote:
Belive it or not, I did. I almost always due - in spite of the lack of information I get.
<quote> The NTP distribution does not include man pages. To learn more about the NTP protocol and this software, please install the xntp-doc package included in you SuSE Linux distribution. </quote>
Not much there, but then I didn't expect much from a man page. :P
Except to install certain package; did you? <:-) - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFD/LWBtTMYHG2NR9URAq69AJ9coF2k/OOppH3HTJNY8QiSR9S53QCgl9ue +R9g2BByxFrC0Cxcq5smrDw= =Y3nF -----END PGP SIGNATURE-----
participants (2)
-
Carlos E. R.
-
Kai Ponte