Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'forbidden access' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
forbidden access
Authored by: florian on Oct 13, '02 06:07:16AM
I finally found the reason for this problem that was bugging me, too: In /etc/cups/cupsd.conf it says somewhere: ... Order Deny,Allow Deny From All Allow From 127.0.0.1 ... The solution is to simply access the cups admin pages via http://127.0.0.1:631 instead of http://localhost:631. cheerio, f l o r i a n

[ Reply to This | # ]
forbidden access
Authored by: mgrady on Sep 27, '04 03:23:26PM

I was defeated by CUPS access controls too. I found the following works:

Edit the cupsd.conf in /etc/cupsd

Comment out the following lines, right at the end of the file:

#Encryption Required
#<Limit GET>
#AuthType Basic
#AuthClass System
#</Limit>

This removes the requirement for a password and class of "system" to modify and/or add printers.

I did use http://127.0.0.1:631/ to access CUPS, and did not retry with localhost:631, but since it worked...

mjg



[ Reply to This | # ]
forbidden access
Authored by: ThFatController on Nov 30, '04 06:09:00PM

It doesn't work for me, though. I've tried using 127.0.0.1:631, I've tried using different browsers, I've tried editing the cupsd.conf file - nothing. After opening localhost:631 I can select the "Printers" tab but I am not allowed to add a new printer. CUPS doesnt accept my username or "root" or "admin" or "lp" with my password. As I am root I don't see what else I can do to access the CUPS administration area!

Please help!



[ Reply to This | # ]
forbidden access
Authored by: ThFatController on Nov 30, '04 06:20:24PM

Okay, I am the first one to admit that I am a bit too hasty sometimes... Of course, after editing the cupsd.conf file you'll have to restart the cups daemon to make things work. Well, yet another problem solved :-)



[ Reply to This | # ]