]> andersk Git - moira.git/blobdiff - gen/print.pc
Command line printer manipulation client, and build goo.
[moira.git] / 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.029194 seconds and 4 git commands to generate.