aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/cups_server
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hostclass/cups_server')
-rw-r--r--scripts/hostclass/cups_server3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/hostclass/cups_server b/scripts/hostclass/cups_server
index e3ad928..6667829 100644
--- a/scripts/hostclass/cups_server
+++ b/scripts/hostclass/cups_server
@@ -16,6 +16,9 @@ pkg install -y cups cups-filters
install_certificate -g "$cups_user" cups "$cups_tls_cert"
install_certificate_key -g "$cups_user" cups "$cups_tls_key"
+# Generate CUPS pam configuration.
+install_file -m 0644 /etc/pam.d/cups
+
# Copy CUPS configuration.
install_template -o root -g "$cups_user" -m 0640 \
"${cups_conf_dir}/cupsd.conf" \