summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1996-09-05 02:39:34 +0000
committermillert <millert@openbsd.org>1996-09-05 02:39:34 +0000
commit9c85263634b60b16fd06d0f0003c4bbff94cd918 (patch)
tree96532a66db5ca6641f900f6abc16200d51ce23f4
parentignore $RSH if we are setuid (diff)
downloadwireguard-openbsd-9c85263634b60b16fd06d0f0003c4bbff94cd918.tar.xz
wireguard-openbsd-9c85263634b60b16fd06d0f0003c4bbff94cd918.zip
document latest rcmd change
-rw-r--r--lib/libc/net/rcmd.312
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libc/net/rcmd.3 b/lib/libc/net/rcmd.3
index f71367ea5db..6631f84768d 100644
--- a/lib/libc/net/rcmd.3
+++ b/lib/libc/net/rcmd.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rcmd.3,v 1.6 1996/09/02 21:36:58 millert Exp $
+.\" $OpenBSD: rcmd.3,v 1.7 1996/09/05 02:39:34 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -54,11 +54,13 @@
The
.Fn rcmd
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
+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 calling process is not setuid and the
.Li RSH
-environmental variable is set and inport is
+environmental variable is set and
+.Fa inport
+is
.Li shell/tcp ,
.Xr rcmdsh 3
is called instead with the value of