search for: setlpr

Displaying 1 result from an estimated 1 matches for "setlpr".

Did you mean: setfpr
2006 May 29
1
Problem with job removal
...above, configured for the above method: (we're using the default lpd.perms) [printers] comment = All Printers path = /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 %...