rlogind.8c

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 8C 代码 · 共 109 行

8C
109
字号
.\" SCCSID: @(#)rlogind.8c	8.1	9/11/90.TH rlogind 8c.SH Namerlogind \- remote login server.SH Syntax.B /etc/rlogind.SH Description.NXR "rlogind server".NXS "remote login server" "rlogind server".NXAM "rlogin command" "rlogind server".NXR "rlogind server" "protocol"The.PN rlogindserver is used for the .MS rlogin 1cprogram.  The server provides a remote login facilitywith authentication based on privileged port numbers..PPThe.PN rlogindserver is invoked by .MS inetd 8cwhen it receives a connection onthe port indicated inthe login service specification.  For further information, see.MS services 5 .When a service request is received, the following protocolis initiated:.TP 41.The server checks the client's source port.If the port is not in the range 0-1023, the serveraborts the connection..TP 42.The server checks the client's source addressand requests the corresponding host name.  If the hostname cannotbe determined, the dot-notation representation of the host address is used..PPOnce the source port and address have been checked, .PN rlogindallocates a pseudo terminal and manipulates file descriptors so that the slavehalf of the pseudo terminal becomes the .BR stdin ,.BR stdout ,and.B stderr for a login process.For further information, see .MS pty 4 ,.PPThe login process is an instance of the.MS login 1program, invoked with the.PN \-roption.  .NXR "rlogind server" "options"The login process then proceeds with the authenticationprocess as described in .MS rshd 8c ,but if automatic authentication fails, it reprompts the userto log in on a standard terminal line..PPThe parent of the login process manipulates the master side ofthe pseudo terminal, operating as an intermediarybetween the login process and the client instance of the.PN rloginprogram.  In normal operation, the packet protocol describedin .MS pty 4is invoked to provide ^S/^Q type facilities and propagateinterrupt signals to the remote programs.  The login processpropagates the client terminal's baud rate and terminal type,as found in the environment variable, TERM.  For furtherinformation see .MS environ 7 ..PPThe screen or window size of the terminal is requested from the client, andany changes in the window size from the client are sent to the pseudo terminal..SH Restrictions.NXR "rlogind server" "restricted"The authentication procedure used here assumes the integrityof each client machine and the connecting medium.  This isinsecure, but it is useful in an open environment..SH DiagnosticsAll diagnostic messages are returned on the connectionassociated 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".brNo entry in the host name database existed forthe client's machine..PP.B "Try again".brA.I forkby the server failed..PP.B "/bin/sh: ...".brThe user's login shell could not be started..SH See Alsorlogin(1c), inetd(8c)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?