Network Appliance(TM)

Manual Pages


Table of Contents

NAME

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.

Each line in hosts.equiv has the following format:

hostname [ 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.

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 you specify a user name for a UNIX host, the user with that name can execute a filer command through rsh. However, because the only local user the filer recognizes is root, if you are a non-root user on the trusted host, you must use the following command syntax on the host to issue a filer command:

rsh -l root toaster command

When you use an rsh application on your PC to issue a filer command, specify that you are entering the command as root.

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:

adminhost
adminhost joe_smith

If you are root on adminhost, use the following command syntax to execute a filer command:

adminhost# rsh toaster command

If your user name is joe_smith, use the following command syntax to execute a filer command:

adminhost% rsh -l root toaster command

SEE ALSO

na_rshd(8)


Table of Contents