Open System Services NFS SCF Reference Manual

SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual522582-001
2-23
ALTER EXPORT Command
ALTER EXPORT Command
The ALTER EXPORT command changes the remote client access of the specified
EXPORT object.
The ALTER EXPORT command has the following syntax:
For an EXPORT object, attribute-spec can be any of:
EXPORT export-name
specifies the name of the EXPORT object whose access list is to be altered.
ADD-ACCESS [ name ]
[ ( name [ , name ] ... ) ]
specifies one or more netgroup or host machine names to be added to the access list
of the EXPORT object.
DEL-ACCESS [ name ]
[ ( name [ , name ] ... ) ]
specifies one or more netgroup or host machine names to be deleted from the access
list of the EXPORT object.
Considerations
Consider the following points when using the ALTER EXPORT command:
ALTER EXPORT is a sensitive command requiring super-ID access.
The ALTER EXPORT command processes all ADD-ACCESS specifications before
all DEL-ACCESS specifications. Duplicate ADD-ACCESS or DEL-ACCESS
specifications cause a warning to be returned.
Use the INFO EXPORT command to determine the current remote client access of
an EXPORT object.
If you specify multiple parameters in any ALTER command and an error occurs,
some of the processing might be complete even though the processing was
interrupted. Use the appropriate INFO command to determine which of the
requested changes were made before the error occurred.
If all members of an EXPORT access list are deleted, the EXPORT object is
exported to everyone. If the intent is to disallow all access to the EXPORT object,
ALTER EXPORT export-name [ [ , attribute-spec] ... ]
[ ADD-ACCESS [ name ]
[ ( name [ , name ] ... ) ] ]
[ DEL-ACCESS [ name ]
[ ( name [ , name ] ... ) ] ]