xref: /titanic_52/usr/src/man/man1m/rdate.1m (revision 587644a8567e6a9533f88401daa59cbd78c4632f)
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 1M "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(7P).

SEE ALSO

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