Hi all, I recently set up a headless ubuntu server (ubuntu server 9.10). As well as many other things i would like to use it as a printer server. Being a headless machine, i would like to configure cups using the webui from another computer on the lan. However when i browse to http://server:631/ i get a 403 forbiden error. I install cups on the server (Ubuntu server 9.10) configured cupsd.conf as per https://help.ubuntu.com/9.10/serverguide/C/cups.html browsed to it from a ubuntu 9.04 machine using firefox on the same lan and got an 403 forbiden error. I also tried adding the local account on the server to the lpadmin group sudo usermod -aG lpadmin username but that made no difference. I do not get prompted for a username/password at all when i try to get the webui up. Am i missing anything? Can some shed any light on how i might resolve this issue?
Hi, Solution 1: Open the file /etc/cups/cupsd.conf In the blocks: <Location /> , <Location /admin> and <Location /admin/conf> Add the following line : Code: Allow all Restart the CUPS server and check whether you get the same error. You may look at http://ubuntuforums.org/showthread.php?t=310450 for more details. Solution 2: In the terminal, enter the following command sudo cupsctl --remote-admin and restart the CUPS server. Hope this helps.
Allow all
Last edited by suseendran.rengabashyam; April 6th, 2010 at 07:12 AM. Reason: Another Solution
Suseendran R.B suseendran@cssoss.com http://cssoss.wordpress.com/
Thank you very much suseendran.rengabashyam that worked perfectly.
That last command worked a treat for me too - Thanks for posting it
Solution 2 worked nicely for me too (I didn't try solution 1). However it seems to completely rewrite your cups config file (/etc/cupsd.conf) so be warned!
From the Ubuntu Forums Code of Conduct. If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful. Thread closed.
View Tag Cloud
Ubuntu Forums Code of Conduct