X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;ds=sidebyside;f=restore%2Frestore.8.in;h=c25c8c70a6e2b955809c2b7a9b4a9a3097880372;hb=0c62667d42afb10ad85e1bbeff43ad2f6a8a4e2a;hp=712dcf467b01e74f8177019145cf482da127af71;hpb=fa58b58da39e4a6c96e34734539d3169dbdf4210;p=dump.git diff --git a/restore/restore.8.in b/restore/restore.8.in index 712dcf4..c25c8c7 100644 --- a/restore/restore.8.in +++ b/restore/restore.8.in @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: restore.8.in,v 1.3 1999/10/13 09:57:21 stelian Exp $ +.\" $Id: restore.8.in,v 1.4 1999/10/30 22:55:51 tiniou Exp $ .\" .Dd __DATE__ .Dt RESTORE 8 @@ -478,6 +478,13 @@ The environment variable will be used to determine the pathname of the remote .Xr rmt 8 program. +.It Ev RSH +.Nm Restore +uses the contents of this variable to determine the name of the +remote shell command to use when doing a network restore (rsh, ssh etc.). +If this variable is not set, +.Xr rcmd 3 +will be used, but only root will be able to do a network restore. .Sh FILES .Bl -tag -width "./restoresymtable" -compact .It Pa /dev/st0 @@ -530,7 +537,8 @@ In all other cases, the files are unique because it is possible to have two different dumps started at the same time, and separate operations shouldn't conflict with each other. .Pp -To do a network restore, you have to run restore as root. This is due +To do a network restore, you have to run restore as root or use +a remote shell replacement (see RSH variable). This is due to the previous security history of dump and restore. (restore is written to be setuid root, but we are not certain all bugs are gone from the restore code - run setuid at your own risk.)