]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Change cupsd.conf to force authentication when accessing administration 518/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Thu, 3 Nov 2022 23:14:49 +0000 (19:14 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Tue, 6 Dec 2022 17:07:06 +0000 (12:07 -0500)
With the current default configuration, anyone can request to Find New Printers without being authenticated and with no way to be authenticated. Without authentication cups does not detects printers on the network. The person might not realize that it's because authentication is missing. It seems natural to always offer to authenticate when accessing the administration page.

Co-Authored-By: Dominic Mayers <dominic.mayers@meditationstudies.org>
conf/cupsd.conf.in

index f69aa39030eead10cadd7755c561c74998174145..31ecacb110c242d4185a587904e60d5de9326fe0 100644 (file)
@@ -38,6 +38,8 @@ IdleExitTimeout @EXIT_TIMEOUT@
 
 # Restrict access to the admin pages...
 <Location /admin>
+  AuthType Default
+  Require user @SYSTEM
   Order allow,deny
 </Location>