.rhosts(4) CLIX .rhosts(4)
NAME
.rhosts - Remote user access list
DESCRIPTION
A .rhosts file in a user's home directory allows users on remote hosts to
gain access as the local user. The format for the file is as follows:
hostname [username]
Items are separated by any number of blanks and/or tab characters. Only
one username can appear on a line with a host name. For access to more
than one user on the same host, the .rhosts file must contain a hostname
username line for each user. If a username is not specified, access is
granted only if there is a username on the specified host which matches
the username on the local host. If a username is specified, then only
that user on the specified host may gain access.
The hostname parameter is either the assigned hostname of the remote host,
or if DNS is running, the remote host's fully qualified name (hostname
plus domain name). For example, for a hostname fluffy in the domain
newco.com, the fully qualified hostname would be fluffy.newco.com. If a
name translation is not available, the Internet address may be used.
Either the superuser or the local user must own the .rhosts file.
NOTES
If using the Domain Name System (DNS), you must include the fully
qualified name (hostname plus domain name) of each host in the .rhosts
file.
CAUTIONS
For security reasons, only the owner of the .rhosts file should have read
and write permissions to the file.
RELATED INFORMATION
Commands: rlogin(1), rcp(1), rcmd(1)
2/94 - Intergraph Corporation 1