>>> On Tue, May 22, 2007 at  1:58 PM, in message
<[EMAIL PROTECTED]>,
"Jones, Russell" <[EMAIL PROTECTED]> wrote: 
> I am running Slack/390 10.1 in an LPAR. I am trying to use CUPS to set
> up a network printer. I commented out the following lines in the
> cupsd.conf file that restrict remote CUPS admin and require
> authentication.  

That probably wasn't a good idea.  If you don't want to send root's password 
over the network, then uncomment this in /etc/cups/cupsd.conf
SystemGroup sys

Then add a user, say cupsadmin, with sys as their primary group.

>       Order deny,allow
>       Deny from all
>       Allow from 127.0.0.1
> 
>       AuthType Basic
>       AuthClass System

Put all these statements back in.  Change the "Allow from 127.0.0.1" to "Allow 
from xx.xx.xx.xx/24" or whatever subnet you want to accept logins from.  
Restart cupsd.  Login as cupsadmin to do any administration work.

> I am now able to get to the main admin page at myip:631/admin, but none
> of the images on the page are being displayed. I can get to the "add new
> printer" and "add new classes" pages, but when I attempt to access the
> "manage printers" and "manage classes" pages, I get an http 403
> forbidden error.

Look in /var/log/cups/access_log and /var/log/cups/error_log.  See what exactly 
is getting the 403 error.  Check the permissions on those directories and 
files.  If they're not 755, they probably should be.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to