Displaying 1 result from an estimated 1 matches for "setlprm".
Did you mean:
  setlpr
  
2006 May 29
1
Problem with job removal
...= /var/spool/lpd
    printable = yes
    printing = lprng
    load printers = yes
    printcap name = /etc/printcap
    guest ok = no
    print command =      /usr/bin/setlpr "%U@%M" "%p" "%s"
    lpq command   =      /usr/bin/lpq -P%p
    lprm command  =      /usr/bin/setlprm "%U@%M" "%p" "%j"
    ...
and the programs look like this:  (they are setuid)
         setuid(0)
         system("lprm -U%s -P%s %s", arg1, arg2, arg3);
Also, we tried to modify the source, but we were surprised by the fact that
samba is doing so much permi...