Connect to an atomic clock and set the time 🕒

Insert this line at the end of /etc/rc.d/rc.local:

rdate -s

You can use any Network Time Protocol (NTP) server. For a full list, try Or search Google for “ntp servers”.

You can also run rdate -s at the command line anytime to set the system time. Note that you have to run the command as root.

Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.