Open System Services NFS SCF Reference Manual

SCF Commands for OSS NFS
Open System Services NFS SCF Reference Manual522582-001
2-20
Example
Example
The following command adds an NFS server named NSRVR3. The server process name
is $NSRV3, and the program name is $SYSTEM.ZOSSNFS.NFSSVRHP. The primary
processor is 0, and the backup processor is 1. The server uses the local OSS file set
under /usr:
->ADD SERVER $ZNFS.NUSR, STYPE OSS, CPU 0, BACKUP 1 &
-> , PRI 148, PROCESS $NUSR &
-> , PROGRAM $SYSTEM.ZOSSNFS.NFSSVRHP &
-> , MNTPOINT /usr
ADD USER Command
The ADD USER command adds a USER object to the OSS NFS subsystem.
A USER object registers a user with the OSS NFS subsystem and maps the users name
to an NFS user ID.
The ADD USER command has the following syntax:
For a USER object, attribute-spec can be any of:
USER user-name
specifies the name of the USER object to be added. USER objects are identified by
a case-sensitive logical name starting with an alphabetic character, a number, or an
underscore (_), and containing 1 to 64 alphanumeric characters, excluding ASCII
NUL and colon (:).
Table 2-2. NULL-ALIAS-OK Interactions With the “Nobody” Alias
NULL-ALIAS-OK = TRUE NULL-ALIAS-OK = FALSE
"nobody" alias
defined
The "nobody" NFS user ID is
mapped to the "nobody" alias
user ID
NFS returns status condition
NFSERR_PERM to the client
indicating a permission violation.
"nobody" alias not
defined
The "nobody" NFS user ID is
not mapped.
NFS returns status condition
NFSERR_PERM to the client
indicating a permission violation.
ADD USER user-name [ [ , attribute-spec ]... ]
GROUPID group-id
USERID user-id
[ ALIAS OSS { user-name }
{ user-number } ]
[ COMMENT “string” ]