Open System Services NFS SCF Reference Manual
SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual—522582-001
2-29
Considerations
ADD netgroupx-name
adds another netgroup to the specified netgroup. Recursive definitions are not
allowed.
DEL netgroupx-name
deletes a netgroup from the specified netgroup.
ADD ( [ host-name ] , [ user-name ] , [ domain-name ] )
adds a specific host to the netgroup. The user-name and domain-name
attributes are accepted; however, they are reserved for future use. See “ADD
NETGROUP Command,” earlier in this section, for more information about
specifying this list.
DEL ( [ host-name ] , [ user-name ] , [ domain-name ] )
deletes a specific host from the netgroup. You must specify the triple (list) exactly
as it is defined in the current EXPORT object. You cannot omit an object from the
list to specify a wild-card element. For example, deleting the triple ( , janet,
medlab) does not delete the triple (sysabc, janet, medlab) even though the triple you
specified includes (sysabc, janet, medlab).
Considerations
Consider the following points when using the ALTER NETGROUP command:
•
ALTER NETGROUP is a sensitive command requiring super-ID access.
•
You can specify the NETGROUP attributes multiple times, in any order. The
subsystem first processes the ADD attributes and then processes the DEL attributes.
Duplicate specifications cause a warning to be returned.
•
Use the INFO NETGROUP command to determine the current membership of a
NETGROUP 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.
Example
The following command adds to the netgroup named medaccts a user named wes of a
host machine named forty in the medlab domain:
->ALTER NETGROUP $ZNFS.medaccts &
-> , ADD (forty, wes, medlab)