From: CSRG Date: Mon, 7 Mar 1983 06:52:47 +0000 (-0800) Subject: BSD 4_2 development X-Git-Tag: BSD-4_3^2~1404 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/8d07919bfd44b24420d919cf9627844cd1fec1bb?hp=bb1f805a4b83cf727596e4cb0b45c6c5ef62b6f3 BSD 4_2 development Work on file usr/man/man8/rlogind.8c Synthesized-from: CSRG/cd1/4.2 --- diff --git a/usr/man/man8/rlogind.8c b/usr/man/man8/rlogind.8c new file mode 100644 index 0000000000..0ff3161bc3 --- /dev/null +++ b/usr/man/man8/rlogind.8c @@ -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.