[KLUG Members] lp que management
Bruce Smith
members@kalamazoolinux.org
18 Apr 2002 17:10:59 -0400
> > > The bugger is how you do such a thing securely (minus kerberos). The web server
> > > runs as nobody or httpd, does nobody o httpd have privilages to cancel, hold,
> > > release, or promote print jobs?
> >
> > Would it work to put user nobody in group "lp"?
> > Only a guess, I never tried it with Linux.
> >
> That still does not solve the issue of someone canceling someone elses jobs evan if it
> works. Heck just use system and sudo from within a php script to allow apache to cancel
> (or promote) a job.
Once the web server has permissions to cancel jobs, you can code
authorization schemes in PHP. (assuming you're writing the thing)
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------