Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ hosts.equiv(4) — Dell System V Release 4 Issue 2.2

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rlogin(1)

rsh(1)

hosts(4)

passwd(4)



hosts.equiv(4)         UNIX System V(Internet Utilities)         hosts.equiv(4)


NAME
      hosts.equiv, .rhosts - trusted hosts by system and by user

DESCRIPTION
      The /etc/hosts.equiv file contains a list of trusted hosts.  When an
      rlogin(1) or rsh(1) request is received from a host listed in this file,
      and when the user making the request is listed in the /etc/passwd file,
      then the remote login is allowed with no further checking.  The library
      routine ruserok will make this verification.  In this case, rlogin does
      not prompt for a password, and commands submitted through rsh are
      executed.  Thus, a remote user with a local user ID is said to have
      equivalent access from a remote host named in this file.

      The format of the hosts.equiv file consists of a one-line entry for each
      host, of the form:

            hostname [username]

      The hostname field normally contains the name of a trusted host from
      which a remote login can be made, and username represents a single user
      from that host.  However, an entry consisting of a single `+' indicates
      that all known hosts are to be trusted for all users.  A host name must
      be the official name as listed in the hosts(4) database. This is the
      first name given in the hosts database entry; hostname aliases are not
      recognized.

   The User .rhosts File
      Whenever a remote login is not allowed by hosts.equiv, the remote login
      daemon checks for a .rhosts file in the home directory of the local
      login.  The .rhosts file controls access only to the specific login where
      it resides.

      The .rhosts file has the same format as the hosts.equiv file, but the
      username entry has a different meaning.  In the hosts.equiv file, a
      username entry restricts remote access to the specified remote user.  In
      the .rhosts file, a username entry changes the identity of user
      attempting to log in.  The remote user specified by username can access
      the host as the local login and inherit the local login's permissions.

FILES
      /etc/hosts.equiv
      /etc/passwd
      ~/.rhosts
      /etc

SEE ALSO
      rlogin(1), rsh(1), hosts(4), passwd(4)







10/89                                                                    Page 1





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