Manual Pages

Table of Contents


na_hosts.equiv - List of hosts and users with rsh permission




The hosts.equiv file contains a list of hosts on which you can enter a node command through the remote shell protocol (rsh).

Hosts specified in this file are considered the trusted hosts of the node.

It is also possible to use hosts.equiv for other protocols such as ssh (both interactive and non-interactive) and telnet. Additionally, access to ONTAPI (ONTAP management APIs) over HTTP and HTTPS can use hosts.equiv authentication by setting the node option httpd.admin.hostsequiv.enable.

Each line in hosts.equiv has the following format:

hostname [ username ]
+@netgroup [ username ]

If the host on which you enter the node command is a UNIX host, the user name is optional. If the host on which you enter the node command is a PC, you must enter the user name for that PC in the /etc/hosts.equiv file.

We can also specify a group of hosts using netgroup. Hence all hosts in that netgroup are allowed to access the node.

If you do not specify a user name for a UNIX host, you must be root on that host to execute a node command through rsh.

If multiple users on the same host should have access to the node through rsh, enter each user name on a separate line.


The following hosts.equiv file allows both root and joe_smith to enter node commands through rsh on a UNIX host named adminhost. It also allows joe_smith to enter node commands through rsh from all hosts in netgroup ourhosts:

adminhost joe_smith
+@ourhosts joe_smith


na_rshd(8), na_options(1)

Table of Contents