version 1.12, 2000/03/14 21:31:41 |
version 1.13, 2002/05/09 19:19:33 |
|
|
is started with the |
is started with the |
.B \-Server |
.B \-Server |
command line option, it will attempt to exec (run) the old version of |
command line option, it will attempt to exec (run) the old version of |
.I rdist. |
.I rdist, |
This option will only work if |
.I /usr/bin/oldrdist. |
.I rdist |
|
was compiled with the location of the old rdist |
|
(usually either |
|
.I /usr/ucb/oldrdist |
|
or |
|
.I /usr/old/rdist) |
|
and that program is available at run time. |
|
.PP |
.PP |
.I Rdist |
.I Rdist |
can use either the |
uses a remote shell command to access each target host. |
.I rcmd(3) |
By default, |
function call or the |
.B ssh |
.I rsh(1c), |
is used, unless overridden by the |
remote shell, command to access each target host. |
.I \-P |
The method used is selected at compile-time. |
option or the RSH environment variable. |
If the |
If the target host is the string |
.I rsh(1c) |
|
method is used and |
|
the target host is the string |
|
.B localhost |
.B localhost |
and |
and |
the remote user name is the same as the local user name, |
the remote user name is the same as the local user name, |
|
|
.nf |
.nf |
.sp |
.sp |
.RS |
.RS |
\fBrsh \fIhost\fB -l \fIremuser \fBrdistd -S\fR |
\fBssh \fIhost\fB -l \fIremuser \fBrdistd -S\fR |
.RE |
.RE |
.sp |
.sp |
.fi |
.fi |
|
|
.I rdistd |
.I rdistd |
is the rdist server command on the target host as shown below. |
is the rdist server command on the target host as shown below. |
.PP |
.PP |
If the |
|
.I rcmd(3) |
|
method is used, then |
|
.I rdist |
|
makes the connection to the target host itself and runs |
|
the |
|
.I rdistd |
|
server program as shown below. |
|
The default, and preferred method, is to use |
|
.I rsh(1c) |
|
to make the connection to target hosts. This allows |
|
.I rdist |
|
to be run without being setuid to ``root''. |
|
.PP |
|
On each target host |
On each target host |
.I Rdist |
.I Rdist |
will attempt to run the command |
will attempt to run the command |
|
|
.TP |
.TP |
.B "\-P \fI<rsh-path>\fR" |
.B "\-P \fI<rsh-path>\fR" |
Set the path to the |
Set the path to the |
.I rsh(1c) |
.I ssh(1) |
command. |
command. |
The |
The |
.I rsh-path |
.I rsh-path |
may be a colon separated list of possible pathnames. |
may be a colon separated list of possible pathnames. |
In this case, the first component of the path to exist is used. |
In this case, the first component of the path to exist is used. |
i.e., |
i.e., |
.B "/usr/ucb/rsh:/usr/bin/remsh", |
.B "/usr/bin/ssh:/usr/bin/rsh", |
.B /usr/bsd/rsh. |
.B /usr/bin/ssh. |
.TP |
.TP |
.B "\-t \fItimeout\fR" |
.B "\-t \fItimeout\fR" |
Set the timeout period (in seconds) for waiting for responses from the remote |
Set the timeout period (in seconds) for waiting for responses from the remote |
|
|
.B /tmp. |
.B /tmp. |
.IP RSH |
.IP RSH |
Name of the default remote shell program to use. Default is |
Name of the default remote shell program to use. Default is |
.B /usr/bin/rsh. |
.B ssh. |
.SH FILES |
.SH FILES |
.nf |
.nf |
.ta \w'/tmp/rdist* 'u |
.ta \w'/tmp/rdist* 'u |
|
|
.SH "SEE ALSO" |
.SH "SEE ALSO" |
.B sh(1), |
.B sh(1), |
.B csh(1), |
.B csh(1), |
|
.B rsh(1), |
|
.B ssh(1), |
.B stat(2), |
.B stat(2), |
.B rsh(1c), |
.B rcmdsh(3) |
.B rcmd(3) |
|
.SH DIAGNOSTICS |
.SH DIAGNOSTICS |
.SH NOTES |
.SH NOTES |
.LP |
.LP |