]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | # |
b19ccc9e | 2 | # "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $" |
ef416fc2 | 3 | # |
18ecb428 MS |
4 | # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a |
5 | # complete description of this file. | |
ef416fc2 | 6 | # |
7 | ||
1f0275e3 MS |
8 | # Log general information in error_log - change "@CUPS_LOG_LEVEL@" to "debug" |
9 | # for troubleshooting... | |
10 | LogLevel @CUPS_LOG_LEVEL@ | |
ef416fc2 | 11 | |
12 | # Administrator user group... | |
bd7854cb | 13 | SystemGroup @CUPS_SYSTEM_GROUPS@ |
f7deaa1a | 14 | @CUPS_SYSTEM_AUTHKEY@ |
ef416fc2 | 15 | |
16 | # Only listen for connections from the local machine. | |
17 | Listen localhost:@DEFAULT_IPP_PORT@ | |
18 | @CUPS_LISTEN_DOMAINSOCKET@ | |
19 | ||
20 | # Show shared printers on the local network. | |
21 | Browsing On | |
22 | BrowseOrder allow,deny | |
f7deaa1a | 23 | BrowseAllow all |
c168a833 | 24 | BrowseLocalProtocols @CUPS_BROWSE_LOCAL_PROTOCOLS@ |
ef416fc2 | 25 | |
26 | # Default authentication type, when authentication is required... | |
27 | DefaultAuthType Basic | |
28 | ||
29 | # Restrict access to the server... | |
30 | <Location /> | |
31 | Order allow,deny | |
ef416fc2 | 32 | </Location> |
33 | ||
34 | # Restrict access to the admin pages... | |
35 | <Location /admin> | |
36 | Order allow,deny | |
ef416fc2 | 37 | </Location> |
38 | ||
39 | # Restrict access to configuration files... | |
40 | <Location /admin/conf> | |
bc44d920 | 41 | AuthType Default |
ef416fc2 | 42 | Require user @SYSTEM |
43 | Order allow,deny | |
ef416fc2 | 44 | </Location> |
45 | ||
46 | # Set the default printer/job policies... | |
47 | <Policy default> | |
10d09e33 MS |
48 | # Job/subscription privacy... |
49 | JobPrivateAccess default | |
50 | JobPrivateValues default | |
51 | SubscriptionPrivateAccess default | |
52 | SubscriptionPrivateAccess default | |
53 | ||
cc0d019f | 54 | # Job-related operations must be done by the owner or an administrator... |
c7017ecc MS |
55 | <Limit Create-Job Print-Job Print-URI Validate-Job> |
56 | Order deny,allow | |
57 | </Limit> | |
58 | ||
aaf19ab0 | 59 | <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> |
ef416fc2 | 60 | Require user @OWNER @SYSTEM |
61 | Order deny,allow | |
62 | </Limit> | |
63 | ||
cc0d019f | 64 | # All administration operations require an administrator to authenticate... |
ae71f5de | 65 | <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices> |
bc44d920 | 66 | AuthType Default |
ef416fc2 | 67 | Require user @SYSTEM |
68 | Order deny,allow | |
69 | </Limit> | |
70 | ||
355e94dc | 71 | # All printer operations require a printer operator to authenticate... |
10d09e33 | 72 | <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> |
355e94dc | 73 | AuthType Default |
b9faaae1 | 74 | Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ |
355e94dc MS |
75 | Order deny,allow |
76 | </Limit> | |
77 | ||
ef416fc2 | 78 | # Only the owner or an administrator can cancel or authenticate a job... |
10d09e33 | 79 | <Limit Cancel-Job CUPS-Authenticate-Job> |
b9faaae1 | 80 | Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ |
ef416fc2 | 81 | Order deny,allow |
82 | </Limit> | |
83 | ||
84 | <Limit All> | |
85 | Order deny,allow | |
86 | </Limit> | |
87 | </Policy> | |
88 | ||
839a51c8 MS |
89 | # Set the authenticated printer/job policies... |
90 | <Policy authenticated> | |
10d09e33 MS |
91 | # Job/subscription privacy... |
92 | JobPrivateAccess default | |
93 | JobPrivateValues default | |
94 | SubscriptionPrivateAccess default | |
95 | SubscriptionPrivateAccess default | |
96 | ||
839a51c8 | 97 | # Job-related operations must be done by the owner or an administrator... |
c7017ecc | 98 | <Limit Create-Job Print-Job Print-URI Validate-Job> |
c5571a1d MS |
99 | AuthType Default |
100 | Order deny,allow | |
101 | </Limit> | |
102 | ||
aaf19ab0 | 103 | <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> |
75bd9771 | 104 | AuthType Default |
839a51c8 MS |
105 | Require user @OWNER @SYSTEM |
106 | Order deny,allow | |
839a51c8 MS |
107 | </Limit> |
108 | ||
109 | # All administration operations require an administrator to authenticate... | |
110 | <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> | |
111 | AuthType Default | |
112 | Require user @SYSTEM | |
113 | Order deny,allow | |
114 | </Limit> | |
115 | ||
116 | # All printer operations require a printer operator to authenticate... | |
10d09e33 | 117 | <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> |
839a51c8 | 118 | AuthType Default |
b9faaae1 | 119 | Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ |
839a51c8 MS |
120 | Order deny,allow |
121 | </Limit> | |
122 | ||
123 | # Only the owner or an administrator can cancel or authenticate a job... | |
10d09e33 | 124 | <Limit Cancel-Job CUPS-Authenticate-Job> |
75bd9771 | 125 | AuthType Default |
b9faaae1 | 126 | Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@ |
839a51c8 | 127 | Order deny,allow |
839a51c8 MS |
128 | </Limit> |
129 | ||
130 | <Limit All> | |
75bd9771 | 131 | Order deny,allow |
839a51c8 MS |
132 | </Limit> |
133 | </Policy> | |
134 | ||
ef416fc2 | 135 | # |
b19ccc9e | 136 | # End of "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $". |
ef416fc2 | 137 | # |