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.
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". /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.