Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rlogin(1N) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rsh(1N)

hosts.equiv(5N)

.rhosts(5N)



RLOGIN(1N)              COMMAND REFERENCE              RLOGIN(1N)



NAME
     rlogin - remote login

SYNOPSIS
     rlogin rhostname[ -ec ] [ -l username ] [ -8 ] [ -L ] [ -w ]
     rhost [ -ec ] [ -l username ] [ -8 ] [ -L ] [ -w ]

DESCRIPTION
     The rlogin command connects your terminal on the current
     local host system to the remote host, rhostname.

     Each host has a file /etc/hosts.equiv (see hosts.equiv(5N))
     which contains a list of host names which are 'trusted'
     enough that their users are allowed to run programs on the
     local system (see rsh(1N)), copy files between the local and
     remote sytems (see rcp(1N)), and login to the local system,
     all without the use of passwords.  Each user may also have a
     private equivalence list in a file .rhosts in his or her
     login directory. Each line in this file should contain an
     rhost and a username separated by a space, giving additional
     cases where logins without passwords are to be permitted.
     If the originating user is not not listed in
     /etc/hosts.equiv or the appropriate .rhosts file, then a
     login and password will be prompted for on the remote
     machine as in login(1).  To avoid some security problems,
     the .rhosts file must be owned by either the remote user or
     root and may not be a symbolic link.

     If there is no home directory for the user on the remote
     system, rlogin will print Sorry, home directory required
     and will prompt for another login.

     The second form of invoking rlogin is possible if you place
     a symbolic link (in some directory in your search path)
     linking rhostname to /bin/rsh.  (See ln(1).) This works
     because rsh can inspect its invocation, and if it finds only
     a host name, rsh assumes you want to login.

     Your remote terminal type is the same as your local terminal
     type (as given in your environment TERM variable).  All
     echoing takes place at the remote site, so that (except for
     delays) the rlogin is transparent.  Flow control, via Ctrl S
     and Ctrl Q and flushing of input and output on interrupts,
     are handled properly.  A line of the form:

          <RETURN> <TILDE> <DOT> <RETURN>

     disconnects from the remote host, where tilde (~) is the
     escape character.  A different escape character may be
     specified by the -e option.





Printed 5/12/88                                                 1





RLOGIN(1N)              COMMAND REFERENCE              RLOGIN(1N)



     If you are a csh(1) user, you can suspend a remote login by
     using either:

          <RETURN> <TILDE> <CTRL-Z> <RETURN>
                         or
          <RETURN> <TILDE> <CTRL-Y> <RETURN>.

     The first invocation stops all output until you bring the
     rlogin job into the foreground, the second invocation will
     not stop output.  However, if you want the output from a
     suspended rlogin (or any other suspended job, for that
     matter) not to be held up, you must also turn off the
     stty(1) option tostop, i.e. stty -tostop.  Typically you
     would place that stty option in your .login file.

     Note that you can have a whole chain of rlogin's and
     selectively suspend to any previous one.  Suppose you logged
     into machine able, and from there used rlogin to access the
     machine baker, and from there you used rlogin to access the
     machine charlie.  If you are currently on the machine
     charlie and want to suspend that job and return to the
     machine able, you could type:

          <RETURN> <TILDE> <CTRL-Z> <RETURN>

     you could also elect to suspend your charlie rlogin and
     return to baker by typing:

          <RETURN> <TILDE> <TILDE> <CTRL-Z> <RETURN>

     Having said this it should be noted that it is much more
     efficient to rlogin direct to a host, rather than set up a
     chain of rlogins.

OPTIONS
     -ec  Set the escape character to the character c.  There is
          no space separating this option flag and the argument
          character.

     -l username
          Specify the login username to login as you would on the
          remote host.

     -8   Set rlogin to transparently handle 8 bit characters.
          You lose flow control with this option (Ctrl S and Ctrl
          Q) but you gain the ability to transfer 8 bit data.
          Typically this would be useful if your terminal sends 8
          bit graphical data in response to some command from the
          host.

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




Printed 5/12/88                                                 2





RLOGIN(1N)              COMMAND REFERENCE              RLOGIN(1N)



     -w   Force rlogin to exchange window size information.
          Normally, this occurs automatically, but some 4.3
          systems have a bug that inhibit the necessary out of
          band communications from occurring reliably.  In these
          cases, this switch cause the data to be exchanged.

EXAMPLES
     This example illustrates how to rlogin to another user's
     account (in this case, sheryl's) on remote host engr1:

          rlogin engr1 -l sheryl

     If there was an entry in the .rhosts file in sheryl's home
     directory for the user attempting the rlogin, then no
     password would be required.

FILES
     /usr/hosts/* for the rhost version of the command

RETURN VALUE
     [3]            Remote process has died.  Connection is
                    closed.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.

CAVEATS
     More terminal characteristics should be propagated.

SEE ALSO
     rsh(1N), hosts.equiv(5N), and .rhosts(5N).










Printed 5/12/88                                                 3





































































%%index%%
na:312,73;
sy:385,526;
de:911,2763;4058,1990;
op:6048,975;7407,390;
ex:7797,569;
fi:8366,140;
rv:8506,871;
ca:9377,136;
se:9513,184;
%%index%%000000000166

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