Technical data

NFS Server
20.6 Registering Users and Hosts
After setting up appropriate accounts, you must register users in the proxy
database and set mount points in the export database.
20.6.1 Adding Proxy Entries
Each user accessing your local server must be registered in the proxy database.
See Section 20.1.3 if you are not familar with how the server uses this database
to grant access to remote users. You should create the proxy database before
the NFS server starts. If you are adding proxies, create the OpenVMS accounts
before creating the proxy entries.
An empty proxy database file, TCPIP$PROXY.DAT, is created for you when you
first use the TCPIP$CONFIG configuration procedure to configure NFS. This file
is empty until you populate it with proxy entries for each NFS user. If you do
not use TCPIP$CONFIG to configure NFS, use the CREATE PROXY command
to create the empty database file. The file TCPIP$PROXY.DAT resides in the
SYS$COMMON:[SYSEXE] directory.
Use the ADD PROXY, REMOVE PROXY, and SHOW PROXY commands to
maintain the proxy database. Enter these commands at the TCPIP prompt:
TCPIP> ADD PROXY user_name /UID=nn /GID=nn /HOST=host_name
For example, you can use the following command to register a user:
TCPIP> ADD PROXY SMITH /UID=53 /GID=45 /HOST="june"
You can specify a list of hosts for which the UID and GID are valid. For example:
TCPIP> ADD PROXY SMITH /UID=53 /GID=45 /HOST=("APRIL","MAY","JUNE")
You can also specify that all hosts are valid using an asterisk (*) wildcard
character. For example:
TCPIP> ADD PROXY SMITH /UID=53 /GID=45 /HOST=*
20.6.2 Adding Entries to the Export Database
If you use the configuration procedure to configure NFS, the export database is
created for you, if it does not already exist. This file is empty until you populate
it with mount point entries. If you do not use TCPIP$CONFIG to configure NFS,
use the CREATE EXPORT command to create the empty database file.
Use the ADD EXPORT, REMOVE EXPORT, and SHOW EXPORT commands to
maintain the export database. Enter these commands at the TCPIP prompt:
TCPIP> ADD EXPORT "/path/name" /HOST=host_name
See the Compaq TCP/IP Services for OpenVMS Management Command Reference
manual for more information about these commands and command qualifiers.
You can identify mount points by any of the following methods:
OpenVMS device name
A device name and directory
A logical name
20–10 NFS Server