Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

rdate(8)

Name

rdate - set system date from a remote host

Synopsis

rdate hostname

Description

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

Usage

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.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
network/legacy-remote-utilities
Interface Stability
Obsolete

See Also

ip6(4P), inetd.conf(5), attributes(7), in.timed(8), ntpd(8), ntpdate(8)

Notes

This technology may be removed in a future release of Oracle Solaris.

History

The rdate command has been present since the initial release of Solaris.