diff options
Diffstat (limited to 'src/lib/libc/net/rcmd.3')
-rw-r--r-- | src/lib/libc/net/rcmd.3 | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3 index ea71e40d71..04230ef774 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.19 2000/04/15 11:46:02 aaron Exp $ | 1 | .\" $OpenBSD: rcmd.3,v 1.20 2000/04/18 03:01:33 aaron 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. |
@@ -65,7 +65,8 @@ The | |||
65 | function | 65 | function |
66 | is used by the superuser to execute a command on a remote | 66 | is used by the superuser to execute a command on a remote |
67 | machine using an authentication scheme based on reserved | 67 | machine using an authentication scheme based on reserved |
68 | port numbers. If the calling process is not setuid, the | 68 | port numbers. |
69 | If the calling process is not setuid, the | ||
69 | .Ev RSH | 70 | .Ev RSH |
70 | environment variable is set, and | 71 | environment variable is set, and |
71 | .Fa inport | 72 | .Fa inport |
@@ -170,12 +171,12 @@ The | |||
170 | and | 171 | and |
171 | .Fn rresvport_af | 172 | .Fn rresvport_af |
172 | functions are used to obtain a socket with a privileged | 173 | functions are used to obtain a socket with a privileged |
173 | address bound to it. This socket is suitable for use | 174 | address bound to it. |
174 | by | 175 | This socket is suitable for use by |
175 | .Fn rcmd | 176 | .Fn rcmd |
176 | and several other functions. Privileged Internet ports are those | 177 | and several other functions. |
177 | in the range 0 to 1023. Only the superuser | 178 | Privileged Internet ports are those in the range 0 to 1023. |
178 | is allowed to bind an address of this sort to a socket. | 179 | Only the superuser is allowed to bind an address of this sort to a socket. |
179 | .Fn rresvport | 180 | .Fn rresvport |
180 | and | 181 | and |
181 | .Fn rresvport_af | 182 | .Fn rresvport_af |