spulist - list permissions for users
spulist [ -options ]
spulist lists the permissions of users known to the GNUspool print spooler system.
The invoking user must have edit admin file permission to use spulist.
The environment variable on which options are supplied is SPULIST
and the environment variable to specify the help file is
SPRESTCONF
.
causes a summary of the other options to be displayed without taking further action.
cancel the -F option and revert to the default format.
display an initial line giving the default options (default).
format the output according to the format string given.
generate a header for each column of the output appropriate for the format.
cancel the -H option.
sort the list of users by the numeric user id (default).
suppress the user lines. It is an error to invoke this and the -s option as well.
suppress the initial line giving the default options.
display the user lines (default).
sort the list of users by the user name.
Save all the current options in a .gnuspool file in the current directory.
Save all the current options in a .gnuspool file in the user's home directory.
The format string consists of a string containing the following character sequences, which are replaced by various user permission parameters. The string may contain various other printing characters or spaces as required.
Each column is padded on the right to the length of the longest entry.
If a header is requested, the appropriate abbreviation is obtained from the message file and inserted.
%a
allowed form types
%b
allowed printer types
%c
allowed class code
%d
default priority
%f
default form type
%l
minimum priority
%m
maximum priority
%n
maximum copies
%o
default printer
%p
privileges
%u
user name.
%v
L
if the user is a valid user
The string DEFAULT
replaces the user name in the default values
line.
Note that the various strings are read from the message file, so it is possible to modify them as required by the user.
The default format is
%u %d %l %m %n %c %p
The following are output via the %p
format. Note that the actual
strings are read from the message file, and are the same ones as are
used by spuchange(1). ALL
is displayed if all privileges are set.
edit admin file
stop scheduler
select forms other than restriction pattern
select printers other than restriction pattern
change priority once queued
edit other users' jobs.
select printer list
stop and start printers
select any priority once queued
change own default priority within range
add and delete printers
override class
unqueue jobs
view (but not change) other users' jobs
access remote jobs
access remote printers
access non-displayed job attributes
freeze parameters from display
~/.gnuspool configuration file (home directory)
.gnuspool configuration file (current directory)
rest.help message file
space-separated options to override defaults.
location of alternative help file.
spuchange(1), spuser(1), spsyntax(5), gnuspool.conf(5), gnuspool.hosts(5).
Various diagnostics are read and printed as required from the message file, by default rest.help.
John M Collins, Xi Software Ltd.