NoPaste

cupsd.conf

von Artaban

Dein Code:
  1. LogLevel debug
  2. MaxLogSize 1m
  3. # Allow remote access
  4. Port 631
  5. Listen /var/run/cups/cups.sock
  6. Browsing On
  7. BrowseLocalProtocols dnssd
  8. DefaultAuthType Basic
  9. WebInterface Yes
  10. <Location />
  11.   # Allow remote access...
  12.  Order allow,deny
  13.   Allow all
  14. </Location>
  15. <Location /printers>
  16.   AuthType None
  17.   Order Deny,Allow
  18.   Deny From None
  19.   Allow From All
  20. </Location>
  21. <Location /admin>
  22. </Location>
  23. <Location /admin/conf>
  24.   AuthType Default
  25.   Require user @SYSTEM
  26. </Location>
  27. <Policy default>
  28.   JobPrivateAccess default
  29.   JobPrivateValues default
  30.   SubscriptionPrivateAccess default
  31.   SubscriptionPrivateValues default
  32.   <Limit Create-Job Print-Job Print-URI Validate-Job>
  33.     Order deny,allow
  34.   </Limit>
  35.   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
  36.     Require user @OWNER @SYSTEM
  37.     Order deny,allow
  38.   </Limit>
  39.   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
  40.     AuthType Default
  41.     Require user @SYSTEM
  42.     Order deny,allow
  43.   </Limit>
  44.   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
  45.     AuthType Default
  46.     Require user @SYSTEM
  47.     Order deny,allow
  48.   </Limit>
  49.   <Limit CUPS-Authenticate-Job>
  50.     Require user @OWNER @SYSTEM
  51.     Order deny,allow
  52.   </Limit>
  53.   <Limit All>
  54.     Order deny,allow
  55.   </Limit>
  56. </Policy>
  57. <Policy authenticated>
  58.   JobPrivateAccess default
  59.   JobPrivateValues default
  60.   SubscriptionPrivateAccess default
  61.   SubscriptionPrivateValues default
  62.   <Limit Create-Job Print-Job Print-URI Validate-Job>
  63.     AuthType Default
  64.     Order deny,allow
  65.   </Limit>
  66.   <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
  67.     AuthType Default
  68.     Require user @OWNER @SYSTEM
  69.     Order deny,allow
  70.   </Limit>
  71.   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  72.     AuthType Default
  73.     Require user @SYSTEM
  74.     Order deny,allow
  75.   </Limit>
  76.   <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
  77.     AuthType Default
  78.     Require user @SYSTEM
  79.     Order deny,allow
  80.   </Limit>
  81.   <Limit Cancel-Job CUPS-Authenticate-Job>
  82.     AuthType Default
  83.     Require user @OWNER @SYSTEM
  84.     Order deny,allow
  85.   </Limit>
  86.   <Limit All>
  87.     Order deny,allow
  88.   </Limit>
  89. </Policy>
  90. BrowseWebIF Yes

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. Alternativ kannst du den gesamten Eintrag auch als Datei herunterladen.