rdate - set system date from a remote host
rdate hostname
rdate sets the local date and time from the hostname given as an argument. You must have the authorization solaris.system.date on the local system. Typically, rdate is used in a startup script.
rdate requests are responded to by the “time” service on the specified host. To enable the “time” service, use the following commands:
svcadm enable time:stream svcadm enable time:dgram
The rdate command is IPv6–enabled. For more information, see the ip6(4P) man page.
The protocol used by rdate represents time as an unsigned 32-bit number of seconds ranging from January 1, 1900 to February 7, 2036. The rdate command further restricts this range by not changing the system date to dates prior to December 13, 1983. Another method of time synchronization must be used for dates past the end of this range.
For most purposes, NTP is strongly recommended over this utility. For more information, see the ntpdate(8) and ntpd(8) man pages.
See attributes(7) for descriptions of the following attributes:
|
ip6(4P), inetd.conf(5), attributes(7), in.timed(8), ntpd(8), ntpdate(8)
This technology may be removed in a future release of Oracle Solaris.
The rdate command has been present since the initial release of Solaris.