From 824a1013c46deb16f9b4ab1d2d1382523cf69fe6 Mon Sep 17 00:00:00 2001 From: millert <> Date: Mon, 2 Sep 1996 21:36:58 +0000 Subject: talk about $RSH --- src/lib/libc/net/rcmd.3 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index 2081a76446..f71367ea5d 100644 --- a/src/lib/libc/net/rcmd.3 +++ b/src/lib/libc/net/rcmd.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rcmd.3,v 1.5 1996/09/01 22:33:04 millert Exp $ +.\" $OpenBSD: rcmd.3,v 1.6 1996/09/02 21:36:58 millert Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -56,7 +56,14 @@ The function is used by the super-user to execute a command on a remote machine using an authentication scheme based -on reserved port numbers. If the user is not the super-user, +on reserved port numbers. If the +.Li RSH +environmental variable is set and inport is +.Li shell/tcp , +.Xr rcmdsh 3 +is called instead with the value of +.Li RSH . +Alternately, if the user is not the super-user, .Fn rcmd will invoke .Xr rcmdsh 3 -- cgit v1.2.3-55-g6feb