Allow or deny non-directory enabled users and systems access to a print queue for a System V print subsystem.
dslpaccess -q QueueName -a AllowList | -d DenyList
The dslpaccess command either allows or denies users and systems access to a directory-enabled print queue. It is modeled on the lpadmin command's -u option.
Allow and deny lists consist of a comma-separated list of entries, each of which may specify a login ID, or a system name and login ID, as follows:
[[LoginID]|[System!LoginID]],[[LoginID]|[System!Login-ID]],...LoginID
or System, or both, can be set to the wildcard all, allowing or denying all appropriate entries. Use all with care. When the all entry is added to one list, all non-all entries are removed from the other list, for the appropriate value of LoginID or System. The default for System is the local host.
The user of this command must be directory-enabled and have permissions set for write, modify, search and read on the directory, in the directory context in which they are administrator.
dslpaccess -q printq1 -a systemX!fredb
dslpaccess -q printq1 -d all!tomt
The dslpaccept command, dslpadmin command, dslpdisable command, dslpenable command, dslpprotocol command, dslreject command, dslpsearch command, lpstat command.