|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Network Services Oracle Solaris 11 Express 11/10|
The following procedure can be used to update the current time when ever needed, without having to setup NTP.
For more information, see How to Obtain Administrative Rights in System Administration Guide: Security Services.
# rdate another-system
Name of the another system
The output should show a date and time that matches that of the other system.
Example 3-1 Synchronizing Date and Time From Another System
The following example shows how to use rdate to synchronize the date and time of one system with another. In this example, the system earth, running several hours behind, is reset to match the date and time of the server starbug.
earth# date Tue Jun 5 11:08:27 MDT 2001 earth# rdate starbug Tue Jun 5 14:06:37 2001 earth# date Tue Jun 5 14:06:40 MDT 2001