[K12OSN] remote CUPS administration

Eric Harrison eharrison at mail.mesd.k12.or.us
Tue May 30 22:14:43 UTC 2006


Joe Guenther wrote:
> I have a library printer that for some unknown reason will have print jobs
> that get stuck in the queue.  I notice it when they call me on my cell
> phone  ... it won't print in the library, or I look and find print jobs
> accumulating for the past 2 days.
> 
> SO how can I make it possible for the librarian to access the LTSP
> server's CUPS web interface from her XP workstation?
> 
> 1) with the current cupsd.conf I can access the site:631, but get a 403
> forbidden ... you don't have permission to accesss the resource on the
> server.  At this point I have googled around and have not found the
> solution. Has anyone here overcome the same issue and be willing to offer
> some advice to get me going in the right direction?
> 
> 2) login should be something other than root.  I suspect I need to put a
> user login on the system that is then part of the sys group.

I've seen it done this way...  edit /etc/cups/cupsd.conf and add a
"SystemGroup" line, such as:

	SystemGroup printadmin


Then you can create a "printadmin" group and add the librarian to that
group. If you are a gui-person:  System->Administration->Users and
Groups. If you are a command-line person:

	groupadd printadmin
	usermod -a -G printadmin <librian's username>


Finally reload cups...

	/sbin/service cups reload


-Eric

> = = = = cupsd.conf = = = =
> 
> AuthType Basic
> AuthClass System
> 
> ## Restrict access to local domain
> #Order Deny,Allow
> #Deny From All
> Order Allow,Deny
> Allow from ALL
> Allow From 127.0.0.1
> Allow From 10.10.0.0/16
> 
> #Encryption Required
> </Location>
> 
> #
> # End of "$Id: cupsd.conf.in,v 1.16 2004/08/18 17:53:47 mike Exp $".
> #
> # Lines below are automatically generated - DO NOT EDIT
> <Location /printers/LAB1-PS>
> Order Deny,Allow
> #Deny From All
> Allow from ALL
> Allow From 127.0.0.1
> Allow From 10.10.0.0/16
> AuthType None
> </Location>
> <Location /printers/Library>
> Order Deny,Allow
> #Deny From All
> Allow from ALL
> Allow From 127.0.0.1
> Allow From 10.10.0.0/16
> AuthType None
> </Location>
> <Location /printers/OfficeHP8000>
> Order Deny,Allow
> #Deny From All
> Allow from ALL
> Allow From 127.0.0.1
> Allow From 10.10.0.0/16
> AuthType None
> </Location>
> <Location /printers/LAB2-PS>
> Order Deny,Allow
> #Deny From All
> Allow from ALL
> Allow From 127.0.0.1
> Allow From 10.10.0.0/16
> AuthType None
> </Location>
> Browsing On
> BrowseProtocols cups
> BrowseOrder Deny,Allow
> BrowseAllow from 10.10.*.*
> BrowseAllow from @LOCAL
> Listen 127.0.0.1:631
> Listen 10.10.100.3:631
> 
> 
> thanks
> Joe Guenther
> 
> = = = = = = = = = = = = =
> Lantech - Didsbury
> Chinook's Edge School Div.
> 




More information about the K12OSN mailing list