logo

Manual Pages


Table of Contents

NAME

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

SYNOPSIS

/etc/hosts.equiv

DESCRIPTION

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

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

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 filer option httpd.admin.hostsequiv.enable.

Each line in hosts.equiv has the following format:

hostname [ username ]
[email protected] [ username ]

If the host on which you enter the filer command is a UNIX host, the user name is optional. If the host on which you enter the filer 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 filer.

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

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

EXAMPLE

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

adminhost
adminhost joe_smith
[email protected] joe_smith

SEE ALSO

na_rshd(8), na_options(1)


Table of Contents