Using CIFS commands with a remote shell program

What you can use a remote shell program for

You can use a remote shell program, such as rsh, to

UNIX example

For example, using rsh on the administration host, you can set access rights for a specific user as follows:

rsh -l root -n toaster cifs access home jsmith r-x

In this example, the filer name is toaster, the user is jsmith, and the share is home. The user has read, execute, and browsing rights to the directory on the filer that has been defined as the home share.

Automating access rights

Because you can use CIFS commands through a remote shell program, you can automate the task of defining access rights for multiple CIFS filers with similar user information. For example, you can create a script containing CIFS commands to enter similar user information for each filer at your site.

Required information in hosts.equiv file

Make sure that the following entries are added to the hosts.equiv file in the etc directory:

host     user
host
     root

where host is the host you are using and user is your name.


Note: Make sure that you include both lines, or not all remote shell functionality works properly.



Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: cifs6.htm
Last updated: 02/24/99 12:16:32