Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rlogin(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rsh(1)

stty(1)

tty(1)

login(1)

named(1M)

hosts(4)

hosts.equiv(4)

rlogin(1)                                                         rlogin(1)

NAME
     rlogin - log in at a remote host (remote login)

SYNOPSIS
     rlogin[ -8][ -esymbol][ -l login] hostname

DESCRIPTION
     The rlogin command allows you to log in at a remote host from your own
     local host. Once you have logged in, you can work at the remote host
     just as if it were your local host.

     This command can be used more than once. Once you have logged in at a
     remote host, you can log in at a different remote host from that host.

     The command is used, for example, if you wish to

     -  work with programs that are only available at another host (e.g.
        editors, in which case you may need to copy your files to the
        remote host with rcp or ftp),

     -  work on files that are stored on a different host for organiza-
        tional reasons (e.g. databases),

     -  use communication functions that are available on another host.

     You can only use rlogin if you have access permission at the remote
     host. You have access permission if

     -  you know a login name and the corresponding password at the remote
        host or

     -  either the name of your local host or a plus sign and the login
        name you are working under have been entered in the .rhosts file in
        the home directory for the login used on remote host or

     -  you are working under the same login name as at the local host, and
        the local host has been entered in the /etc/hosts.equiv file of the
        remote host.

     For security reasons, the owner of the .rhosts file must be either the
     remote user or the system administrator.

     rlogin can only be executed if the rlogind daemon on the remote host
     is active. rlogind is started by the inetd daemon.

     rlogin sets up a connection to the rlogind daemon on the remote host.
     The rlogind daemon of the remote host opens a pseudo-tty and activates
     the command interpreter.

     The type of shell called to execute the remote command is determined
     by the user's entry in the /etc/passwd file on the remote system.




Page 1                       Reliant UNIX 5.44                Printed 11/98

rlogin(1)                                                         rlogin(1)

     With the help of the pseudo-tty, output from the shell at the remote
     host is redirected to the local host.

     If the shell is terminated (e.g. using the <CTRL-D> key), the session
     at the remote host is also terminated.

     The environment variable TERM has the same value on the remote host as
     on the local host. The terminal or window size is also copied to the
     remote host if the server supports this option. Flow control using
     <CTRL-S> and <CTRL-Q> and flushing of input and output on interrupts
     are handled properly.

     This implementation of rlogin can only use the TCP network protocol.

OPTIONS
     -8   All characters passed between the remote host and the local ter-
          minal are transmitted in 8-bit mode.

          -8 not specified:

          Seven-bit data transmission is the default.

     -esymbol
          Defines an escape character, symbol, with which you can return to
          the host at which you entered the first rlogin command.

          Any printable character may be specified as the escape character.

          There must not be any blanks between -e and symbol.

          If you enter the escape character followed by a period (.) at the
          beginning of a line, the session at the remote host is aborted
          immediately, and you return to the point from which you issued
          rlogin.

          The sequence

          <RETURN> symbol <.>

          always terminates the session on the remote host and returns to
          the host from which rlogin was called. Open files are not saved.

          -esymbol not specified:

          ~ (tilde) always acts as an escape character, regardless of
          whether or not an additional character has been specified.

     -l login
          Login name under which you can log in at the remote host. You
          must use this option if the login name under which you are work-
          ing at the local host differs from the one at the remote host.



Page 2                       Reliant UNIX 5.44                Printed 11/98

rlogin(1)                                                         rlogin(1)

          -l login not specified:

          rlogin uses the same login name at the remote host as you are
          using on the local host.

     hostname
          Name of the remote host at which you wish to log in.

EXAMPLES
     Example 1

     A user at the local host boston would like to work under the same user
     name at the remote host seattle.

     $ rlogin seattle
     Password:

     You are prompted to enter the appropriate password. If you enter the
     password correctly, you can then work at the remote host as you would
     at your local host.

     Example 2

     User john would like to work at the remote host boston under the login
     name frank. He has access permission and wants to use & as his escape
     character.

     $ rlogin boston -e\& -l frank

     He can terminate the session at boston by entering <RETURN> <.> at any
     time.























Page 3                       Reliant UNIX 5.44                Printed 11/98

rlogin(1)                                                         rlogin(1)

ENVIRONMENT VARIABLES
     TERM     Type of terminal used.

FILES
     /etc/passwd
          Password file.

     /etc/hosts.equiv
          List of host names; users with the same login name on both the
          local and remote host may access the local host from any of the
          remote hosts listed in this file.

     $HOME/.rhosts
          List of host name/login name combinations identifying users with
          permission to log in under your login name.

SEE ALSO
     rsh(1), stty(1), tty(1), login(1), named(1M), hosts(4),
     hosts.equiv(4).



































Page 4                       Reliant UNIX 5.44                Printed 11/98

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