If the form:
is used, then users from the named host are trusted. That is, they may access the system with the same user name as they have on the remote system. This form may be used in both the /etc/hosts.equiv and .rhosts files.
If the line is in the form:
then the named user from the named host can access the system. This form may be used in individual .rhosts files to allow remote users to access the system as a
different local user. If this form is used in the /etc/hosts.equiv file, the named remote user will be allowed to access the system as any local
user.
netgroup(4) can be used in either the hostname or username fields to match a number of hosts or users in one entry. The form:
allows access from all hosts in the named netgroup. When used in the username field, netgroups allow a group of remote users to access the system as a particular local user.
The form:
allows all of the users in the named netgroup from the named host to access the system as the local user. The form:
allows the users in netgroup2 from the hosts in netgroup1 to access the system as the local user.
The special character `+' can be used in place of either hostname or username to match any host or user. For example, the entry
will allow a user from any remote host to access the system with the same username. The entry
will allow the named user from any remote host to access the system. The entry
will allow any user from the named host to access the system as the local user.
|