Bug#1006468: cups: misleading documentation regarding root login credentials
Package: cups
Version: 2.4.1op1-1
Severity: normal
Hello,
On a fresh CUPS install, I logged into the web interface as root to add
a printer, and was denied with a 401 Forbidden error. The problem seems
to be that root is not a member of a group in @SYSTEM (which by default
only includes lpadmin). I understand that Debian has decided that this
is not a bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616718
but Debian's documentation seems quite misleading and inconsistent on
this point.
README.Debian states:
'Administration' is where you need to be to set up a local print queue.
At some point you will be required to authenticate. A User Name of 'root'
and root's password is always acceptable. Any other user must be a member
of the lpadmin group.
This clearly indicates that root does *not* need to be a member of the
lpadmin group.
OTOH, 'man cupsd.conf' is more accurate:
Note: The 'root' user is not special and must be granted privileges
like any other user account.
I suggest that the language of the README be modified to resemble that
of the man page.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cups depends on:
ii cups-client 2.4.1op1-1
ii cups-common 2.4.1op1-1
ii cups-core-drivers 2.4.1op1-1
ii cups-daemon 2.4.1op1-1
ii cups-filters 1.28.12-1
ii cups-ppdc 2.4.1op1-1
ii cups-server-common 2.4.1op1-1
ii debconf [debconf-2.0] 1.5.79
ii ghostscript 9.55.0~dfsg-3
ii libavahi-client3 0.8-5
ii libavahi-common3 0.8-5
ii libc6 2.33-7
ii libcups2 2.4.1op1-1
ii libgcc-s1 12-20220222-1
ii libstdc++6 12-20220222-1
ii libusb-1.0-0 2:1.0.25-1
ii poppler-utils 20.09.0-3.1
ii procps 2:3.3.17-6
Versions of packages cups recommends:
ii avahi-daemon 0.8-5
ii colord 1.4.6-1
Versions of packages cups suggests:
pn cups-bsd <none>
pn cups-pdf <none>
pn foomatic-db-compressed-ppds | foomatic-db <none>
pn smbclient <none>
ii udev 250.3-2
-- debconf information excluded
Reply to: