diff options
-rw-r--r-- | src/lib/libc/net/rcmd.3 | 11 |
1 files 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 @@ | |||
1 | .\" $OpenBSD: rcmd.3,v 1.5 1996/09/01 22:33:04 millert Exp $ | 1 | .\" $OpenBSD: rcmd.3,v 1.6 1996/09/02 21:36:58 millert Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1983, 1991, 1993 | 3 | .\" Copyright (c) 1983, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -56,7 +56,14 @@ The | |||
56 | function | 56 | function |
57 | is used by the super-user to execute a command on | 57 | is used by the super-user to execute a command on |
58 | a remote machine using an authentication scheme based | 58 | a remote machine using an authentication scheme based |
59 | on reserved port numbers. If the user is not the super-user, | 59 | on reserved port numbers. If the |
60 | .Li RSH | ||
61 | environmental variable is set and inport is | ||
62 | .Li shell/tcp , | ||
63 | .Xr rcmdsh 3 | ||
64 | is called instead with the value of | ||
65 | .Li RSH . | ||
66 | Alternately, if the user is not the super-user, | ||
60 | .Fn rcmd | 67 | .Fn rcmd |
61 | will invoke | 68 | will invoke |
62 | .Xr rcmdsh 3 | 69 | .Xr rcmdsh 3 |