]> andersk Git - moira.git/commitdiff
Add pointer to a file allowing us to deny users printing access.
authorzacheiss <zacheiss>
Tue, 22 Jun 2004 18:26:27 +0000 (18:26 +0000)
committerzacheiss <zacheiss>
Tue, 22 Jun 2004 18:26:27 +0000 (18:26 +0000)
gen/print.pc

index 560261e793c73476e7e7354b2019455b8926e669..6399b6fccdd389a46c8b04ca85769f6350dce095 100644 (file)
@@ -213,6 +213,8 @@ void do_host(char *host)
   EXEC SQL CLOSE csr_ac;
   fprintf(out, "\n");
 
+  fprintf(out, "# Allow us to lock out users\n");
+  fprintf(out, "REJECT SERVICE=R USER=</var/spool/printer/users.deny\n");
   fprintf(out, "# Accept authenticated jobs to all other printers\n");
   fprintf(out, "ACCEPT SERVICE=R AUTH=USER,FWD\n");
   fprintf(out, "# Allow authenticated users to lprm their jobs\n");
This page took 0.033354 seconds and 5 git commands to generate.