version 1.5, 1999/06/05 01:21:38 |
version 1.6, 2000/03/10 20:17:50 |
|
|
.Op Fl l Ar username |
.Op Fl l Ar username |
.Ar host |
.Ar host |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm rlogin |
.Nm |
starts a terminal session on a remote host |
starts a terminal session on a remote host |
.Ar host . |
.Ar host . |
.Pp |
.Pp |
.Nm rlogin |
.Nm |
first attempts to use the Kerberos authorization mechanism, described below. |
first attempts to use the Kerberos authorization mechanism, described below. |
If the remote host does not support Kerberos the standard Berkeley |
If the remote host does not support Kerberos the standard Berkeley |
.Pa rhosts |
.Pa rhosts |
authorization mechanism is used. |
authorization mechanism is used. |
|
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width flag |
.Bl -tag -width flag |
.It Fl 8 |
.It Fl 8 |
|
|
.It Fl L |
.It Fl L |
The |
The |
.Fl L |
.Fl L |
option allows the rlogin session to be run in ``litout'' (see |
option allows the rlogin session to be run in |
|
.Dq litout |
|
(see |
.Xr tty 4 ) |
.Xr tty 4 ) |
mode. |
mode. |
.It Fl d |
.It Fl d |
|
|
The |
The |
.Fl e |
.Fl e |
option allows user specification of the escape character, which is |
option allows user specification of the escape character, which is |
``~'' by default. |
.Ql ~ |
|
by default. |
This specification may be as a literal character, or as an octal |
This specification may be as a literal character, or as an octal |
value in the form \ennn. |
value in the form \ennn. |
.It Fl k Ar realm |
.It Fl k Ar realm |
|
|
in realm |
in realm |
.Ar realm |
.Ar realm |
instead of the remote host's realm as determined by |
instead of the remote host's realm as determined by |
.Xr krb_realmofhost 3 . |
.Xr krb_realmofhost 3 . |
.It Fl x |
.It Fl x |
The |
The |
.Fl x |
.Fl x |
|
|
If this option is not specified, your local username will be used. |
If this option is not specified, your local username will be used. |
.El |
.El |
.Pp |
.Pp |
A line of the form ``<escape char>.'' disconnects from the remote host. |
A line of the form |
Similarly, the line ``<escape char>^Z'' will suspend the |
.Dq <escape char>. |
.Nm rlogin |
disconnects from the remote host. |
session, and ``<escape char><delayed-suspend char>'' suspends the |
Similarly, the line |
|
.Dq <escape char>^Z |
|
will suspend the |
|
.Nm |
|
session, and |
|
.Dq <escape char><delayed-suspend char> |
|
suspends the |
send portion of the rlogin, but allows output from the remote system. |
send portion of the rlogin, but allows output from the remote system. |
By default, the tilde (``~'') character is the escape character, and |
By default, the tilde |
normally control-Y (``^Y'') is the delayed-suspend character. |
.Pq Ql ~ |
|
character is the escape character, and |
|
normally control-Y |
|
.Pq Ql ^Y |
|
is the delayed-suspend character. |
.Pp |
.Pp |
All echoing takes place at the remote site, so that (except for delays) |
All echoing takes place at the remote site, so that (except for delays) |
the |
the |
.Nm rlogin |
.Nm |
is transparent. |
is transparent. |
Flow control via ^S/^Q and flushing of input and output on interrupts |
Flow control via ^S/^Q and flushing of input and output on interrupts |
are handled properly. |
are handled properly. |
|
|
in their home directory. |
in their home directory. |
Each line in this file should contain a Kerberos principal name of the |
Each line in this file should contain a Kerberos principal name of the |
form |
form |
.Ar principal.instance@realm . |
.Ar principal.instance@realm . |
If the originating user is authenticated to one of the principals named |
If the originating user is authenticated to one of the principals named |
in |
in |
.Pa .klogin , |
.Pa .klogin , |
|
|
file. |
file. |
Otherwise a login and password will be prompted for on the remote machine |
Otherwise a login and password will be prompted for on the remote machine |
as in |
as in |
.Xr login 1 . |
.Xr login 1 . |
To avoid certain security problems, the |
To avoid certain security problems, the |
.Pa .klogin |
.Pa .klogin |
file must be owned by |
file must be owned by |
|
|
.Pp |
.Pp |
If Kerberos authentication fails, a warning message is printed and the |
If Kerberos authentication fails, a warning message is printed and the |
standard Berkeley |
standard Berkeley |
.Nm rlogin |
.Nm |
is used instead. |
is used instead. |
.Sh ENVIRONMENT |
.Sh ENVIRONMENT |
The following environment variable is utilized by |
The following environment variables affect the execution of |
.Nm rlogin : |
.Nm rlogin : |
.Bl -tag -width TERM |
.Bl -tag -width TERM |
.It Ev TERM |
.It Ev TERM |
|
|
.Sh BUGS |
.Sh BUGS |
.Nm rlogin |
.Nm rlogin |
will be replaced by |
will be replaced by |
.Xr telnet 1 |
.Xr telnet 1 |
in the near future. |
in the near future. |
.Pp |
.Pp |
More of the environment should be propagated. |
More of the environment should be propagated. |