[printers], admin users, "print operators" deleting other people's jobs

Joel Hammer Joel at HammersHome.com
Tue Dec 25 13:43:20 GMT 2001


Make the change noted below in your print command, and you should get
the file name in the print queue.  This will be only the first 20 or
so letters of the file name. A nuisance if you have a microsoft word
document with a long prefix (Microsoft document or some such). You could
use a preexec to remove unwanted prefixes from these file names.
Look into /etc/lpd.perms to see how to allow certain users rights to control
queues. It won't be obvious but it can be done, they claim.
Joel


On Wed, Dec 26, 2001 at 07:31:54AM +1300, Pulu 'Anau wrote:
> Hello all.
> What I need to make sure of is that certain people can pause/delete, etc
> print jobs for other users, as well as start or stop the entire queue.
> I'd sure like them *NOT* to be root (or at least have the root password)
> to do this.
> 
snip
> smb.conf are below:
> 
> # Printing stuff here
>         printing = lprng
>         disable spoolss = yes
>         printcap name = /etc/printcap
>         print command = /usr/local/bin/lpr  -U%U -J'%J' -P%p -r %s
                                                    ^^^^^
>         lpq command   = /usr/local/bin/lpq  -U%U -P%p
>         lprm command  = /usr/local/bin/lprm -U%U -P%p %j
snip
> As an aside, is there a way to get the filenames of the jobs to end up
> being close to or similar to what they were when they were submitted?
> This isn't a really big deal, but it would be nice.




More information about the samba mailing list