xref: /illumos-gate/usr/src/man/man8/rdate.8 (revision 0250c53ad267726f2438e3c6556199a0bbf588a2)
te
Copyright (c) 2001 Sun Microsystems, Inc. All Rights Reserved.
Copyright 1989 AT&T
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
RDATE 8 "Mar 16, 2006"
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. See ip6(4P).

SEE ALSO

ip6 (4P), inetd.conf (5), attributes (7), inetd (8)