hosts.equiv, .rhosts - trusted remote host name and user data base
The hosts.equiv and .rhosts files contain information about trusted hosts and users on the network. For each host, a single line should be present that uses either a simple or verbose format.
Simple format:
hostname [username]
Verbose format:
[+-][hostname|@netgroup] [[+-][username|@netgroup]]
An at symbol (@) indicates a hostname by netgroup or username by netgroup. A single plus sign (+) matches all hosts or users. A host name with a leading minus sign (-) will reject all matching hosts and all their users. A user name with a leading minus sign (-) will reject all matching users from matching hosts.
Items are separated by any number of blanks, tab characters, or both. A pound sign (#) indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines that search the file.
Host names are specified in the conventional dot (.) notation using the inet_addr() routine from the Internet address manipulation library, inet(). Host names can contain any printable character other than a field delimiter, newline, or comment character.
For security reasons, a user's .rhosts file will be ignored if it is not a regular file, if it is not owned by the user, or if it is writable by anyone other than the user.
somehost kim
kim
from host
somehost
.+@allclient
allclient
.+@allclient -@dau
allclient
and their
users except users from netgroup dau
.rlogin(1)
rcp(1)
rsh(1)