On 7/8/05, Jack Malone <jmalone@horizonind.com> wrote:
I can not seem to get the right search string to work to get the info I need to add myself as a administrator so taht I can admin cups server from webpage. I had it setup in past before I redid the server. I access it with http://192.168.0.200:631/printers an get the error message below when I try to restart or stop a printer. You don't have permission to access the resource on this server.
I know I need to add myself as user to be able to admin this but I forget what I need to do. been too long since I did it.
thanks
jack
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi Jack, edit the /etc/cups/cupsd.conf file and go to the <Location /admin> section. You could specify a group there, which members are allowed to make administrative changes. Here is an example for the group members "sys" <Location /admin> AuthType BasicDigest AuthClass Group AuthGroupName sys # ## Restrict access to local domain / network Order Deny,Allow Deny From All Allow From 127.0.0.1 ## maybe local network as well.. # Allow From 192.168.0.0 </Location> You should additionaly restrict the access to some hosts or network.. you could add some hosts / networks if you need to (see the commented part) Finally, add the user(s) who should be able to access the /admin location to the group you chose and restart cups. hope this helps Markus