summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraaron <>2000-04-15 11:46:02 +0000
committeraaron <>2000-04-15 11:46:02 +0000
commit9dcb22e771cb1df56ecea4675bea5800079d69d1 (patch)
tree23cd18c76fd28d333b075edc06430618816a194f
parent8b6e947157a9220b6fba73f26e80bd6e65d8d5bc (diff)
downloadopenbsd-9dcb22e771cb1df56ecea4675bea5800079d69d1.tar.gz
openbsd-9dcb22e771cb1df56ecea4675bea5800079d69d1.tar.bz2
openbsd-9dcb22e771cb1df56ecea4675bea5800079d69d1.zip
- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes. - Some `id' -> `ID'.
-rw-r--r--src/lib/libc/net/rcmd.318
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libc/net/rcmd.3 b/src/lib/libc/net/rcmd.3
index ccc7294e52..ea71e40d71 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.18 2000/02/23 17:28:25 aaron Exp $ 1.\" $OpenBSD: rcmd.3,v 1.19 2000/04/15 11:46:02 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.
@@ -63,7 +63,7 @@
63The 63The
64.Fn rcmd 64.Fn rcmd
65function 65function
66is used by the super-user to execute a command on a remote 66is used by the superuser to execute a command on a remote
67machine using an authentication scheme based on reserved 67machine using an authentication scheme based on reserved
68port numbers. If the calling process is not setuid, the 68port numbers. If the calling process is not setuid, the
69.Ev RSH 69.Ev RSH
@@ -74,7 +74,7 @@ is
74.Xr rcmdsh 3 74.Xr rcmdsh 3
75is called instead with the value of 75is called instead with the value of
76.Ev RSH . 76.Ev RSH .
77Alternately, if the user is not the super-user, 77Alternately, if the user is not the superuser,
78.Fn rcmd 78.Fn rcmd
79will invoke 79will invoke
80.Xr rcmdsh 3 80.Xr rcmdsh 3
@@ -123,7 +123,7 @@ is set to the standard name of the host
123and a connection is established to a server 123and a connection is established to a server
124residing at the well-known Internet port 124residing at the well-known Internet port
125.Fa inport . 125.Fa inport .
126If the user is not the super-user, the only valid port is 126If the user is not the superuser, the only valid port is
127.Dq shell/tcp 127.Dq shell/tcp
128(usually port 514). 128(usually port 514).
129.Pp 129.Pp
@@ -150,7 +150,7 @@ is 0, then the standard error (unit 2 of the remote command) will be made the
150same as the standard output and no 150same as the standard output and no
151provision is made for sending arbitrary signals to the remote process, 151provision is made for sending arbitrary signals to the remote process,
152although you may be able to get its attention by using out-of-band data. 152although you may be able to get its attention by using out-of-band data.
153Note that if the user is not the super-user, 153Note that if the user is not the superuser,
154.Fa fd2p 154.Fa fd2p
155must be 0. 155must be 0.
156.Pp 156.Pp
@@ -174,7 +174,7 @@ address bound to it. This socket is suitable for use
174by 174by
175.Fn rcmd 175.Fn rcmd
176and several other functions. Privileged Internet ports are those 176and several other functions. Privileged Internet ports are those
177in the range 0 to 1023. Only the super-user 177in the range 0 to 1023. Only the superuser
178is allowed to bind an address of this sort to a socket. 178is allowed to bind an address of this sort to a socket.
179.Fn rresvport 179.Fn rresvport
180and 180and
@@ -188,10 +188,10 @@ and
188.Fn ruserok 188.Fn ruserok
189functions take a remote host's IP address or name, respectively, 189functions take a remote host's IP address or name, respectively,
190two user names and a flag indicating whether the local user's 190two user names and a flag indicating whether the local user's
191name is that of the super-user. 191name is that of the superuser.
192Then, if the user is 192Then, if the user is
193.Em not 193.Em not
194the super-user, it checks the 194the superuser, it checks the
195.Pa /etc/hosts.equiv 195.Pa /etc/hosts.equiv
196file. 196file.
197If that lookup is not done, or is unsuccessful, the 197If that lookup is not done, or is unsuccessful, the
@@ -200,7 +200,7 @@ in the local user's home directory is checked to see if the request for
200service is allowed. 200service is allowed.
201.Pp 201.Pp
202If this file does not exist, is not a regular file, is owned by anyone 202If this file does not exist, is not a regular file, is owned by anyone
203other than the user or the super-user, or is writeable by anyone other 203other than the user or the superuser, or is writeable by anyone other
204than the owner, the check automatically fails. 204than the owner, the check automatically fails.
205Zero is returned if the machine name is listed in the 205Zero is returned if the machine name is listed in the
206.Pa hosts.equiv 206.Pa hosts.equiv