Difference between revisions of "Rdate server"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
You sometimes need "rdate" to set the system time. (I.e. use "rdate -s myserver" followed by "hwclock --systohc"
+
If you're not using NTP, you sometimes need "rdate" to set the system time. (I.e. use <code>rdate -s myserver</code> followed by <code>hwclock --systohc</code>
  
 
== To set up the server ==
 
== To set up the server ==

Latest revision as of 17:18, 24 June 2009

If you're not using NTP, you sometimes need "rdate" to set the system time. (I.e. use rdate -s myserver followed by hwclock --systohc

To set up the server

This service is run by "xinetd" (which also serves evil things like "rlogin" "rsh" "ftp" etc.). This is already running on your system, but pretty much everything is turned off.

Edit: /etc/xinetd.d/time-stream and /etc/xinetd.d/time-dgram Set "disable = no", and restart the xinetd service.

Presto!