The
hosts.equiv and
.rhosts files list hosts and users which are “trusted” by the local host when a connection is made via
rlogind(8),
rshd(8), or any other server that uses
ruserok(3). This mechanism bypasses password checks, and is required for access via
rsh(1).
Each line of these files has the format:
The
hostname may be specified as a host name (typically a fully qualified host name in a DNS environment) or address, “
+@netgroup” (from which only the host names are checked), or a “
+” wildcard (allow all hosts).
The
username, if specified, may be given as a user name on the remote host, “
+@netgroup” (from which only the user names are checked), or a “
+” wildcard (allow all remote users).
If a
username is specified, only that user from the specified host may login to the local machine. If a
username is not specified, any user may login with the same user name.