lprng in FC5

Tony Dietrich td at transoft-adsl.demon.co.uk
Thu Mar 2 20:58:35 UTC 2006


On Thursday 02 March 2006 08:19, Mogens Kjaer wrote:
> Tony Dietrich wrote:
> ....
>
> > I believe the functions of lprng are duplicated by the cups-lpd functions
> > shipped with FC3 onwards.
> >
> > Can your applications not use cups-lpd?  There are a large number of
> > wrappers available for almost all printers that linux supports.
>
> I don't know what Boris's problem is, but this is my problem:
>
> I have a redhat 9 machine with lprng.
>
> I've written a few perl cgi scripts that are used
> to maintain windows and linux users, windows shares, and printing.
>
> All printer queues are raw queues, the windows
> drivers does all the formatting, so I have no need
> of Linux drivers.
>
> In lprng I can control at the user and more important,
> at the group level who can print and control printer
> queues.
>
> This is done by having the cgi script modifying the /etc/lpd.perms file.
>
> This file has lines like:
>
> ACCEPT SERVICE=C SERVER PRINTER=hp46sdr_ps REMOTEGROUP=hp46sdr
> ACCEPT SERVICE=M SERVER PRINTER=hp46sdr_ps REMOTEGROUP=hp46sdr
> ACCEPT SERVICE=X SERVER PRINTER=hp46sdr_ps REMOTEGROUP=hp46sdr
> REJECT SERVICE=X SERVER PRINTER=hp46sdr_ps
>
> ACCEPT SERVICE=C SERVER PRINTER=kem5100_ps REMOTEGROUP=kem5100
> ACCEPT SERVICE=M SERVER PRINTER=kem5100_ps REMOTEGROUP=kem5100
> ACCEPT SERVICE=X SERVER PRINTER=kem5100_ps
>
> Anyone can print on kem5100_ps, only members of the group
> kem5100 can control this queue.
>
> Only members of the group hp46sdr can print and control
> the queue hp46sdr_ps.
>
> I havn't found a way of doing this in CUPS.
>
> When this server is updated to Fedora at some time,
> I would need lprng for keeping this rather useful setup.
>
> Mogens
>
> --
> Mogens Kjaer, Carlsberg A/S, Computer Department
> Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
> Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
> Email: mk at crc.dk Homepage: http://www.crc.dk

Configure your <location> directives in cups on Fedora 
You can set up access controls there.
-- 
Tony




More information about the fedora-list mailing list