Scott A. Chaffin
2013-05-30 15:15:19 UTC
I am trying to determine if there is a way to use groups or printer
groups to control access to various printers that we have.
Let me explain our situation. We have several groups of users,
faculty, graduate students and undergraduate students among them. Each
of these groups has a number of printers that they can use:
undergraduates a few lab printers; graduates the lab printers and the
printers in the graduate offices and labs; and faculty in all of the
previous printers plus the printers in their own offices and the
department office.
I would like to be able to set up a group, say undergraduate users, and
grant them access to some printers based on this group membership. I
want to handle print quotas individually, but allow printer access
based on group membership.
When I have granted access to a printer to a group and then tried to
print to that printer by a user that is a member of that group I
receive an e-mail stating that printing is denied by printer policy.
What I tried was something like the following:
pkusers --add testuser/testuser-jMbK1v/RW1uaMJb+***@public.gmane.org
pkusers --limitby balance testuser
pkusers --balance +0.18 testuser
pkusers -a -g testgroup
pkusers -g testgroup -a testuser
edpykota --add --printer testprinter testgroup
And I wanted testuser to be able to print to testprinter because they
were a member of testgroup, but I found I had to add access to the
printer on a per-user basis.
Is it possible to do something like this using user groups or even
printer groups or is it necessary to grant access to printers on a
per-user basis?
Thanks,
Scott
groups to control access to various printers that we have.
Let me explain our situation. We have several groups of users,
faculty, graduate students and undergraduate students among them. Each
of these groups has a number of printers that they can use:
undergraduates a few lab printers; graduates the lab printers and the
printers in the graduate offices and labs; and faculty in all of the
previous printers plus the printers in their own offices and the
department office.
I would like to be able to set up a group, say undergraduate users, and
grant them access to some printers based on this group membership. I
want to handle print quotas individually, but allow printer access
based on group membership.
When I have granted access to a printer to a group and then tried to
print to that printer by a user that is a member of that group I
receive an e-mail stating that printing is denied by printer policy.
What I tried was something like the following:
pkusers --add testuser/testuser-jMbK1v/RW1uaMJb+***@public.gmane.org
pkusers --limitby balance testuser
pkusers --balance +0.18 testuser
pkusers -a -g testgroup
pkusers -g testgroup -a testuser
edpykota --add --printer testprinter testgroup
And I wanted testuser to be able to print to testprinter because they
were a member of testgroup, but I found I had to add access to the
printer on a per-user basis.
Is it possible to do something like this using user groups or even
printer groups or is it necessary to grant access to printers on a
per-user basis?
Thanks,
Scott