lpusers(1M) DG/UX R4.11MU05 lpusers(1M)
NAME
lpusers - set printing queue priorities
SYNOPSIS
lpusers -d priority-level
lpusers -q priority-level -u login-ID-list
lpusers -u login-ID-list
lpusers -q priority-level
lpusers -l
DESCRIPTION
The lpusers command is used to set limits to the queue priority level
that can be assigned to jobs submitted by users of the LP print
service.
You must have appropriate privilege to run lpusers. On a generic
DG/UX system (i.e. without a DG/UX information security option),
appropriate privilege is granted by having an effective UID of 0
(root). See the appropriateprivilege(5) man page for more
information.
On a system with DG/UX information security, appropriate privilege is
granted by having one or more specific capabilities enabled in the
effective capability set of the user. See capdefaults(5) man page
for the default capabilities of this command.
The first form of the command (with -d) sets the system-wide priority
default to priority-level, where priority-level is a value of 0 to
39, with 0 being the highest priority. If a user does not specify a
priority level with a print request [see lp(1)], the default priority
is used. Initially, the default priority level is 20.
The second form of the command (with -q and -u) sets the default
highest priority-level (0-39) that the users in login-ID-list can
request when submitting a print request. The login-ID-list argument
may include any or all of the following constructs:
login-ID A user on any system
systemname!login-ID
A user on the system systemname
systemname!all
All users on system systemname
all!login-ID
A user on all systems
all All users on all systems
Users that have been given a limit cannot submit a print request with
a higher priority level than the one assigned, nor can they change a
request already submitted to have a higher priority. Any print
requests submitted with priority levels higher than allowed will be
given the highest priority allowed.
The third form of the command (with -u) removes any explicit priority
level for the specified users. User names must be specific. all is
not acceptable.
The fourth form of the command (with -q) sets the default highest
priority level for all users not explicitly covered by the use of the
second form of this command.
The last form of the command (with -l) lists the default priority
level and the priority limits assigned to users.
SEE ALSO
admlpsched(1M),
lp(1).
appropriateprivilege(5).
capdefaults(5).
NOTES
The lp subsystem supports running with multiple lp schedulers. When
more than one lpsched is defined, each scheduler will appear as an
independent spooler with it's own set of printer queues, lp forms,
classes and user definitions. The lpusers command can operate with
only one lpsched at a time. To "target" a specific lpsched, the
environment variable DGLPSCHED should be set to the desired lpsched
name before executing the lpusers command. If the DGLPSCHED
variable is unset, then the default lpsched will be targeted. The
currently defined lpscheds can be listed with the admlpsched -o list
command.
Licensed material--property of copyright holder(s)