Provides configuration options for the rpc.pcnfsd daemon.
The /etc/pcnfsd.conf file is an ASCII file written by users to add options to the operation of the rpc.pcnfsd daemon, which takes no command-line flags. This file is part of Network Support Facilities.
When started, the rpc.pcnfsd daemon checks for the presence of the pcnfsd.conf configuration file and conforms its performance to the specified arguments. The following options can be entered in the pcnfsd.conf file:
Option | Description |
---|---|
aixargs -BCharacterPair | Controls the printing of burst
pages according to the value
of the CharacterPair variable, as listed below. The first
character applies to the header and the second character to the trailer.
Possible values are n (never), a (always), and g (group).
The header and trailer stanzas in the /etc/qconfig file define the default treatment of burst pages. Note: The -B flag
works exactly like the -B flag in the enq command. Unlike the enq command, however,
the rpc.pcnfsd daemon does not allow spaces between the -B flag and the CharacterPair variable.
|
getjobnum off | Disables the rpc.pcnfsd daemon feature that returns job numbers when print jobs are submitted. |
printer Name AliasFor Command | Defines
a PC-NFS virtual printer, recognized only by rpc.pcnfsd daemon
clients. Each virtual printer is defined on
a separate line in the pcnfsd.conf file. The following variables
are specified with this option.
|
spooldir PathName | Designates a new parent directory, PathName, where the rpc.pcnfsd daemon stores the subdirectories it creates for each of its clients. The default parent directory is /var/spool/pcnfs. |
uidrange | Specifies the valid UID (user number) range that the rpc.pcnfsd daemon accepts. The default UID range is 101-4294967295. |
wtmp off | Disables the login record-keeping feature of the rpc.pcnfsd daemon. By default, the daemon appends to the /var/adm/wtmp file a record of user logins. |
printer test - /usr/bin/cp $FILE
/usr/tmp/$HOST-$USER
printer sandman san ls -l $FILE
wtmp off
The first line establishes a printer test. Files sent to the test printer will be copied into the /usr/tmp directory. Requests to the test PC-NFS virtual printer to list the queue, check the status, or do similar printer operations, will be rejected because a - (minus sign) has been given for the Alias-For parameter.
The second line establishes a PC-NFS virtual printer called sandman that lists, in long form, the file specifications for the print data file.
The third line turns off the rpc.pcnfsd daemon feature that records user logins.
uidrange 1-100,200-50000
This entry means that only numbers from 101-199 and over 50000 are invalid UID numbers.
Item | Description |
---|---|
/etc/pcnfsd.conf | Specifies the path of the configuration file. |
/var/spool/pcnfs directory | Contains subdirectories for clients of the pcnfsd daemon. |
/etc/qconfig | Configures a printer queuing system. |
/var/adm/wtmp | Describes formats for user and accounting information. |