diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1996-09-02 21:36:59 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1996-09-02 21:36:59 +0000 |
commit | f4888595b8c9e58bf803560df2fee57369f05d12 (patch) | |
tree | 210a4868e80f1c396ad604b7f36faad2b4074e54 /lib/libc | |
parent | fad4de9fbb09c458db36b35bec824d7a8a6e3718 (diff) |
talk about $RSH
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/rcmd.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3 index 2081a764466..f71367ea5db 100644 --- a/lib/libc/net/rcmd.3 +++ b/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 |