Bug 1405669 - Add wheel to /etc/cups/cups-files.conf SystemGroup
Summary: Add wheel to /etc/cups/cups-files.conf SystemGroup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cups
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-17 00:28 UTC by Robin A. Meade
Modified: 2017-01-13 11:51 UTC (History)
3 users (show)

Fixed In Version: cups-2.2.0-5.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 11:51:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robin A. Meade 2016-12-17 00:28:55 UTC
1. went to http://localhost:631/printers/<queuename>

2. Selected "Modify Printer"

3. Entered My username and password when promPted by Basic Authentication dialog

4. Received "Forbidden" message

Expected to be able to administer printers through the CUPS web interface, since, when I created my account during installation, I checked "Administrator" option, which put me in the "wheel" group.

POSSIBLE SOLUTION

I fixed this on my system, by:

1. sudo vim /etc/cups/cups-files.conf

2. Added 'wheel' to the SystemGroup line:

# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup sys root wheel

I think this should be the default so we have one less hurdle when troubleshooting printer problems.

ADDITIONAL DETAILS

For reference, on Ubuntu 16.10, this line is:

SystemGroup lpadmin

and I was in this group by default.

Related discussions:

http://unix.stackexchange.com/a/294675
http://forums.fedoraforum.org/showthread.php?t=309128

Comment 1 Zdenek Dohnal 2016-12-20 11:45:31 UTC
Hi Robin,

I am not sure if it is good to add 'wheel' group to SystemGroup by default, so I asked upstream about it. I will tell you outcome.

Comment 2 Zdenek Dohnal 2017-01-05 10:36:50 UTC
Upstream said they are only historical reasons for it and they are no longer actual as other operating systems are adding their groups. So I will add 'wheel' as default.

Comment 3 Robin A. Meade 2017-01-05 18:36:48 UTC
Great. This will make administering printers easier and meet expectations of what a system administrator should be able to do. Thank you Zdenek.

Comment 4 Fedora Update System 2017-01-11 17:17:54 UTC
cups-2.2.0-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-cd323b81de

Comment 5 Fedora Update System 2017-01-12 07:53:14 UTC
cups-2.2.0-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-cd323b81de

Comment 6 Fedora Update System 2017-01-13 11:51:22 UTC
cups-2.2.0-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.