Open System Services NFS SCF Reference Manual

SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual522582-001
2-36
Example
Use the STATUS SUBSYS command to determine the current subsystem attribute
values.
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. For the SUBSYS object, use the STATUS SUBSYS command to
determine which of the requested changes were made before the error occurred.
Normally, to prevent disruption to NFS clients, the REUSE-SERVERID attribute
should be left ON. If an important server attribute (such as its mount point) is
changed, and the files maintained by that server really are different, then REUSE-
SERVERID can be turned OFF to make sure that any clients with remote mounts
against the server are not unintentionally given access to the wrong files. The
following example shows how the ALTER SUBSYS command can be used among a
sequence of commands to first turn off and then turn on the REUSE-SERVERID
attribute in just such a case:
-> ASSUME $ZNFS
-> STOP SERVER ROOT
-> ALTER SERVER ROOT, MNTPOINT
-> ALTER SUBSYS, REUSE-SERVERID OFF
-> START SERVER ROOT
-> ALTER SUBSYS, REUSE-SERVERID ON
Example
The following command disallows reuse of the server ID for the SUBSYS object
associated with the manager process $ZNFS:
->ALTER SUBSYS $ZNFS, REUSE-SERVERID OFF
ALTER USER Command
The ALTER USER command changes attribute values associated with the specified
USER object.
The ALTER USER command has the following syntax:
For a USER object, attribute-spec can be bany of:
USER user-name
specifies the name of the USER object whose attributes are to be altered.
ALTER USER user-name [ [ , attribute-spec ]... ]
[ ALIAS OSS { user-name }
{ user-number } ]
[ COMMENT “string” ]