Manual Pages

Table of Contents


na_rshd - remote shell daemon


The filer has UNIX-compatible remote shell capability that enables you to execute certain filer commands from a UNIX command line or shell script. It also enables you to use a remote shell application on a PC to run filer commands.

The value of rsh.access controls access to the filer, and is set by options rsh.access. See na_protocolaccess(8) for more details. This value is checked prior to the authentication mechanisms discussed below.

The /etc/hosts.equiv file controls authentication to the filer remote shell. The hosts and users (on those hosts) listed in the /etc/hosts.equiv file are automatically authenticated. This means that the filer accepts remote shell commands via rsh from these hosts and users.

An alternative authentication mechanism for rshd is to have the client use rsh with a -l option that specifies the admin_name and password in the form of -l admin_name:password. Both the admin_name and password are created with the filer's useradmin command.


The following example shows how to run the version command from a trusted host named adminhost through a remote shell:

adminhost% rsh -l root toaster version

The following example shows how to run the sysconfig -r command with a password rpass42 from an untrusted host named ahost through a remote shell:

ahost% rsh -l root:rpass42 toaster sysconfig -r

To see a list of filer commands that can be executed, enter:

adminhost% rsh -l root toaster "?"


na_hosts.equiv(5), na_useradmin(1), na_options(1), na_protocolaccess(8)

Table of Contents