Allow or deny non-directory enabled users and systems access to a print queue for a System V print subsystem.
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.
[[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.
Item | Description |
---|---|
-a AllowList | Specifies a list of users to add to the allow list. If present, these are deleted from the deny list. This option can not be used with the -d option. |
-d DenyList | Specifies a list of users to add to the deny list. If present, these are deleted from the allow list. This option can not be used with the -a option. |
-q QueueName | The queue-name parameter is the RDN® of the print queue. If the print queue name does not exist in the directory context, the command fails. |
dslpaccess -q printq1 -a systemX!fredb
dslpaccess -q printq1 -d all!tomt