Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rlogin(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rsh, remsh

.rhosts

hosts.equiv



RLOGIN(1,C)                 AIX TCP/IP User's Guide                 RLOGIN(1,C)



-------------------------------------------------------------------------------
rlogin



PURPOSE

Connects your terminal on the current local host system lhost to the remote
host system rhost.

SYNTAX


                    +-------+   +------+   +------+   +---------------+
rlogin --- rhost ---|       |---|      |---|      |---|               |---|
                    +- -ec -+   +- -8 -+   +- -L -+   +- -l username -+


DESCRIPTION

The rlogin command connects your terminal on the current local host system
lhost to the remote host system rhost, which is not normally a member of the
TCF cluster.

Each host has a file /etc/hosts.equiv which contains a list of rhost's with
which it shares account names.  When any user except root uses rlogin to log in
as the same user on an equivalent host, you don't need to give a password.
Each user including root may also have a private equivalence list in a file
.rhosts in his directory.  Each line in this file should contain an rhost and a
username separated by a space or TAB character, giving additional cases where
logins without passwords are to be permitted.  If the originating user is not
equivalent to the remote user, then a login and password will be prompted for
on the remote machine as in login.  To avoid some security problems, the
.rhosts file must be owned by either the remote user or root.

The remote terminal type is the same as your local terminal type (as given in
your environment term variable).  The terminal or window size is also copied to
the remote system if the server supports the option, and changes in size are
reflected as well.  All echoing takes place at the remote site.  The rlogin
session is transparent except for delays.  Flow control via Ctrl S and Ctrl Q
and flushing of input and output on interrupts are handled properly.  The
optional argument -8 allows an eight-bit input data path at all times.
Otherwise, parity bits are stripped except when the remote side's stop and
start characters are other than Ctrl S/Ctrl Q.  The argument -L allows the
rlogin session to be run in litout mode (terminal literal output mode; see
termio in the AIX Operating System Technical Reference).  A line of the form ~.
(tilde, period) disconnects from the romote host, where tilde is the escape
character for your keyboard.  Similarly, the line ~^Z (where Ctrl Z, is the
suspend character) suspends the rlogin session.  Substitution of the
delayed-suspend character (normally Ctrl Y) for the suspend character delays
the send portion of the rlogin session, but allows output from the remote




Processed October 29, 1990        RLOGIN(1,C)                                 1





RLOGIN(1,C)                 AIX TCP/IP User's Guide                 RLOGIN(1,C)



system.  A different escape character may be specified by the -e option.  There
is no space separating this option flag and the argument character.





















































Processed October 29, 1990        RLOGIN(1,C)                                 2





RLOGIN(1,C)                 AIX TCP/IP User's Guide                 RLOGIN(1,C)




FLAGS

The rlogin command options are:

-ec    Changes the escape character.  Substitutes the character you choose for
       c.

-8     Allows an 8-bit data path at all times.  Otherwise, unless the start and
       stop characters on the foreign host are not Ctrl-S and Ctrl-Q, the
       rlogin command uses a 7-bit data path and parity bits are stripped.

-l     Changes the remote user name to the one you specify.  Otherwise, your
       local user name is used at the foreign host.

-L     Allows the rlogin session to be run in litout mode.

EXAMPLES

The following example assumes that:

  o An .rhosts file exits in the user's directory on host2.

  o The prompt on host2 has been customized to be [host2].

First, perform a remote login to the remote host named host2, on which you have
a login.  No password is required, and the remote hosts prompts with
"[host2]$".

  $ rlogin host2
  [host2]$

In the second example, try to log in as user "bwalker" using the -l option. You
are asked for a password. If you enter the correct one, you are logged in. If
not, as in the example, you get an error message and rlogin does not succeed.

  $ rlogin host2 -l bwalker
  Password: iforget
  You entered a login name or password that is not valid.
  Connection closed.
  $

RELATED INFORMATION

In this book:
"rsh, remsh"
".rhosts"
"hosts.equiv"







Processed October 29, 1990        RLOGIN(1,C)                                 3



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026