Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rlogin(1) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

remsh(1)

telnet(1)

rlogind(1M)

hosts.equiv(5)

hosts(5)

services(5)

     RLOGIN(1)                Series 300 Only                RLOGIN(1)

     NAME
          rlogin - remote login

     SYNOPSIS
          rlogin rhost [ -ec ] [ -8 ] [ -l username ]
          rhost [ -ec ] [ -8 ] [ -l username ]

     HP-UX COMPATIBILITY
          Level:    HP-UX/NON-STANDARD

          Origin:   UCB

          Remarks:  Implemented on the Series 300 only.

     DESCRIPTION
          Rlogin connects your terminal  on  the  local  host  to  the
          remote host, rhost; rlogin acts as a virtual terminal to the
          remote  system.   The  hostname  rhost  can  be  either  the
          official  name  or  an  alias  as  listed in /etc/hosts; see
          hosts(5).

          In a manner similar to remsh(1), rlogin allows a user to log
          in on an equivalent remote host, rhost, bypassing the normal
          login/password  sequence.   For   more   information   about
          equivalent  hosts  and  how  to  specify  them  in the files
          /etc/hosts.equiv and .rhosts see hosts.equiv(5).  Note  that
          the  searching  of  the  files  /etc/hosts.equiv and .rhosts
          occurs on the remote host, and that the .rhosts file must be
          owned by the remote user account or by the super-user.

          If the originating user account is  not  equivalent  to  the
          remote  user  account, then the originating user is prompted
          for the password of the remote account.  If this fails, then
          a login and password are prompted for, as in login(1).

          Your terminal type (as specified by  your  TERM  environment
          variable), along with your baud rate, are proprogated across
          the network to the remote host, and  are  used  to  set  the
          initial  value  of  your  TERM  environment  variable on the
          remote host.  All echoing takes place at the remote site, so
          that (except for delays) the remote login is transparent.  A
          line beginning with ``~.'' disconnects from the remote host;
          a  line  beginning  with ``~!'' causes a shell escape on the
          local host, where `~' is the escape character  (see  the  -e
          option below).

          Your system administrator may arrange  for  more  convenient
          access  to  a  remote  host  rhost  by  linking  remsh(1) to
          /usr/hosts/rhost, allowing  use  of  the  remote  host  name
          (rhost) as a command; see remsh(1).

          If at any time rlogin is unable to read from or write to the

     Hewlett-Packard               - 1 -             (printed 7/16/86)

     RLOGIN(1)                Series 300 Only                RLOGIN(1)

          socket   connection   to   the   remote  host,  the  message
          ``Connection closed.''  is  printed  on  stderr  and  rlogin
          exits.

          Rlogin supports the following options:

          -ec            Sets the escape character to c.  There is  no
                         space  seperating  this  option  flag and the
                         argument character.  To start a line with the
                         escape   character,   two   of   the   escape
                         characters  must  be  entered.   The  default
                         escape character is `~'.  Some characters may
                         conflict with  your  terminal  configuration;
                         e.g.  ^S,  ^Q,  backspace, etc.  Using one of
                         these as the  escape  character  may  not  be
                         possible  or may cause problems communicating
                         with the remote host; see stty(1) and tty(4).

          -l username    Sets the user login name on the  remote  host
                         to username.  The default name is the current
                         account name of the user invoking rlogin.

          -8             Causes rlogin to use an eight-bit data  path.
                         Otherwise,  rlogin  strips  the bytes sent to
                         seven bits, and sets the eighth bit to  zero.
                         To  use  eight-bit characters you may need to
                         reconfigure your local terminal or the remote
                         host  appropriately;  see stty(1) and tty(4).
                         Note that some remote hosts may  not  provide
                         the    necessary    support   for   eight-bit
                         characters.

          HP-UX does not support job control, so the escapes  ~CNTRL-Y
          and ~CNTRL-Z do not work.

     EXAMPLES
          To login as the same user on  the  remote  host  ``remote'',
          use:

               rlogin remote

          To set the escape character to a `!', use an eight-bit  data
          connection,  and  attempt  a login as user ``guest'' on host
          ``rhost'', use:

               rlogin rhost -e! -8 -l guest

          Assuming that your system administator has set up the  links
          in  /usr/hosts,  then  the  following  is  equivalent to the
          previous command:

               rhost -e! -8 -l guest

     Hewlett-Packard               - 2 -             (printed 7/16/86)

     RLOGIN(1)                Series 300 Only                RLOGIN(1)

     FILES
          /etc/hosts.equiv         list of equivalent hosts
          $HOME/.rhosts            user's private equivalence list
          /usr/hosts/*             for rhost version of the command

     RETURN VALUES
          Rlogin sends an error message to stderr and returns  a  non-
          zero  value  if an error occurs before the connection to the
          remote host is completed; otherwise it returns a zero.

     SEE ALSO
          remsh(1), telnet(1), rlogind(1M), hosts.equiv(5),  hosts(5),
          services(5).

     DIAGNOSTICS
          Diagnostics can occur from both the local and remote  hosts.
          Those  that occur on the local host before the connection is
          completely established are  written  to  stderr.   Once  the
          connection  is  established,  any  error  messages  from the
          remote host are written on stdout like any other data.

          login/tcp: Unknown service
               Rlogin was unable to find a login service listed in the
               /etc/services database file.

          There is no entry for you (user ID <uid>) in /etc/passwd
               Rlogin was unable to  look  up  your  user  id  in  the
               password   file.    Next   Step:  Contact  your  system
               administator.

          <system call>: ...
               An error occurred when rlogin attempted  the  indicated
               system  call.   See  the  appropriate manual page for a
               description of the error.

     WARNINGS
          For security  purposes,  the  /etc/hosts.equiv  and  .rhosts
          files  should  exist,  even if they are empty, and should be
          readable and writable only by the owner.   Note  also,  that
          all  information,  including  any  passwords  asked  for, is
          passed unencrypted between the two hosts.

          HP-UX does not support job control, so the escapes  ~CNTRL-Y
          and ~CNTRL-Z do not work.

     Hewlett-Packard               - 3 -             (printed 7/16/86)

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