[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762981: The first user should be a member of the lpadmin group



[Petter Reinholdtsen]
> We should look for a way to get the same effect for CUPS
> administration.

I had a closer look, and one fix would be to tell cups to treat all
members of one of the groups granting privileges as a system user.
This can be done by adding the to the list of privileged groups in
/etc/cups/cups-files.conf, using the SystemGroup statement.  We have
two privileged groups at the moment.  The gosa-admins group and the
teachers group.  I suspect it make most sense to use the teachers
group, or perhaps create a new printer-admins group.  We can perhaps
also add the lpadmin group to LDAP and use that as the printer admin
group, but I am unsure how the cups postinst will handle it if the
group is in LDAP and not in /etc/group.

If we change /etc/cups/cups-files.conf to have a statement like this,
I believe all teachers can configure printers:

  SystemGroup lpadmin teachers
-- 
Happy hacking
Petter Reinholdtsen


Reply to: