BSD 4_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 7 Mar 1983 06:52:47 +0000 (22:52 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 7 Mar 1983 06:52:47 +0000 (22:52 -0800)
Work on file usr/man/man8/rlogind.8c

Synthesized-from: CSRG/cd1/4.2

usr/man/man8/rlogind.8c [new file with mode: 0644]

diff --git a/usr/man/man8/rlogind.8c b/usr/man/man8/rlogind.8c
new file mode 100644 (file)
index 0000000..0ff3161
--- /dev/null
@@ -0,0 +1,94 @@
+.TH RLOGIND 8C "4 March 1983"
+.UC 4
+.SH NAME
+rlogind \- remote login server
+.SH SYNOPSIS
+.B /etc/rlogind
+[
+.B \-d
+]
+.SH DESCRIPTION
+.I Rlogind
+is the server for the 
+.IR rlogin (1C)
+program.  The server provides a remote login facility
+with authentication based on privileged port numbers.
+.PP
+.I Rlogind
+listens for service requests at the port indicated in
+the ``login'' service specification; see
+.IR services (5).
+When a service request is received the following protocol
+is initiated:
+.IP 1)
+The server checks the client's source port.
+If the port is not in the range 0-1023, the server
+aborts the connection.
+.IP 2)
+The server checks the client's source address.
+If the address is associated with a host for which no
+corresponding entry exists in the host name data base (see
+.IR hosts (5)),
+the server aborts the connection.
+.PP
+Once the source port and address have been checked, 
+.I rlogind
+allocates a pseudo terminal (see 
+.IR pty (4)),
+and manipulates file descriptors so that the slave
+half of the pseudo terminal becomes the 
+.B stdin ,
+.B stdout ,
+and
+.B stderr 
+for a login process.
+The login process is an instance of the
+.IR login (1)
+program, invoked with the
+.B \-r
+option.  The login process then proceeds with the authentication
+process as described in
+.IR rshd (8C),
+but if automatic authentication fails, it reprompts the user
+to login as one finds on a standard terminal line.
+.PP
+The parent of the login process manipulates the master side of
+the pseduo terminal, operating as an intermediary
+between the login process and the client instance of the
+.I rlogin
+program.  In normal operation, the packet protocol described
+in
+.IR pty (4)
+is invoked to provide ^S/^Q type facilities and propagate
+interrupt signals to the remote programs.  The login process
+propagates the client terminal's baud rate and terminal type,
+as found in the environment variable, ``TERM''; see
+.IR environ (7).
+.SH DIAGNOSTICS
+All diagnostic messages are returned on the connection
+associated with the
+.BR stderr ,
+after which any network connections are closed.
+An error is indicated by a leading byte with a value of 1.
+.PP
+.B ``Hostname for your address unknown.''
+.br
+No entry in the host name database existed for
+the client's machine.
+.PP
+.B ``Try again.''
+.br
+A
+.I fork
+by the server failed.
+.PP
+.B ``/bin/sh: ...''
+.br
+The user's login shell could not be started.
+.SH BUGS
+The authentication procedure used here assumes the integrity
+of each client machine and the connecting medium.  This is
+insecure, but is useful in an ``open'' environment.
+.PP
+A facility to allow all data exchanges to be encrypted should be
+present.