Sort #includes. Add rcsid. Add man page section in .Xrefs.

This commit is contained in:
Philippe Charnier 1997-11-25 07:17:15 +00:00
parent 3029b69f0b
commit 943eade9ed
2 changed files with 15 additions and 13 deletions

View File

@ -30,7 +30,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)rlogind.8 8.1 (Berkeley) 6/4/93 .\" @(#)rlogind.8 8.1 (Berkeley) 6/4/93
.\" $Id$ .\" $Id: rlogind.8,v 1.8 1997/02/22 14:22:07 peter Exp $
.\" .\"
.Dd June 4, 1993 .Dd June 4, 1993
.Dt RLOGIND 8 .Dt RLOGIND 8
@ -49,8 +49,8 @@ program. The server provides a remote login facility
with authentication based on privileged port numbers from trusted hosts. with authentication based on privileged port numbers from trusted hosts.
.Pp .Pp
Options supported by Options supported by
.Nm rlogind : .Nm Ns :
.Bl -tag -width Ds .Bl -tag -width indent
.It Fl D .It Fl D
Set TCP_NODELAY socket option. This improves responsiveness at the expense of Set TCP_NODELAY socket option. This improves responsiveness at the expense of
some additional network traffic. some additional network traffic.
@ -65,7 +65,7 @@ Disable keep-alive messages.
.El .El
.Pp .Pp
The following options are valid only if Kerberos is in use: The following options are valid only if Kerberos is in use:
.Bl -tag -width Ds .Bl -tag -width indent
.It Fl k .It Fl k
Enable Kerberos authentication. Enable Kerberos authentication.
.It Fl v .It Fl v
@ -109,7 +109,7 @@ Normal authentication is bypassed if the address verification fails.
.El .El
.Pp .Pp
Once the source port and address have been checked, Once the source port and address have been checked,
.Nm rlogind .Nm
proceeds with the authentication process described in proceeds with the authentication process described in
.Xr rshd 8 . .Xr rshd 8 .
It then allocates a pseudo terminal (see It then allocates a pseudo terminal (see
@ -132,7 +132,7 @@ prompted to log in as if on a standard terminal line.
The parent of the login process manipulates the master side of The parent of the login process manipulates the master side of
the pseudo terminal, operating as an intermediary the pseudo terminal, operating as an intermediary
between the login process and the client instance of the between the login process and the client instance of the
.Xr rlogin .Xr rlogin 1
program. In normal operation, the packet protocol described program. In normal operation, the packet protocol described
in in
.Xr pty 4 .Xr pty 4
@ -158,12 +158,12 @@ All initial diagnostic messages are indicated
by a leading byte with a value of 1, by a leading byte with a value of 1,
after which any network connections are closed. after which any network connections are closed.
If there are no errors before If there are no errors before
.Xr login .Xr login 1
is invoked, a null byte is returned as in indication of success. is invoked, a null byte is returned as in indication of success.
.Bl -tag -width Ds .Bl -tag -width Ds
.It Sy Try again. .It Sy Try again.
A A
.Xr fork .Xr fork 2
by the server failed. by the server failed.
.El .El
.Sh SEE ALSO .Sh SEE ALSO

View File

@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
*
* $Id: rlogind.c,v 1.17 1997/03/28 15:48:16 imp Exp $
*/ */
#ifndef lint #ifndef lint
@ -40,7 +38,11 @@ static const char copyright[] =
#endif /* not lint */ #endif /* not lint */
#ifndef lint #ifndef lint
#if 0
static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93"; static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93";
#endif
static const char rcsid[] =
"$Id$";
#endif /* not lint */ #endif /* not lint */
/* /*
@ -68,14 +70,14 @@ static const char sccsid[] = "@(#)rlogind.c 8.1 (Berkeley) 6/4/93";
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
#include <errno.h>
#include <libutil.h>
#include <pwd.h> #include <pwd.h>
#include <syslog.h> #include <syslog.h>
#include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <libutil.h> #include <unistd.h>
#include "pathnames.h" #include "pathnames.h"
#ifndef TIOCPKT_WINDOW #ifndef TIOCPKT_WINDOW