![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/05cfe80b35a0e4046e250426733055e5.jpg?s=120&d=mm&r=g)
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
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
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"
Thanks Markus, that helped an i had to add my user name to the lppasswd -g sys command . after adding my ipaddress to the conf file it gave me a login / pass promt. again thinks. it has been a while since I had to do that an I had forgotten. jack
![](https://seccdn.libravatar.org/avatar/05cfe80b35a0e4046e250426733055e5.jpg?s=120&d=mm&r=g)
On 7/8/05, Jack Malone <jmalone@horizonind.com> wrote:
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"
Thanks Markus,
that helped an i had to add my user name to the lppasswd -g sys command . after adding my ipaddress to the conf file it gave me a login / pass promt.
again thinks. it has been a while since I had to do that an I had forgotten.
jack
oops.. sorry, did forget to mention.. the lppasswd command you're welcome
![](https://seccdn.libravatar.org/avatar/41ed85ec60b719fa1654d12375dd9bd6.jpg?s=120&d=mm&r=g)
On Fri, 2005-07-08 at 15:31 +0200, Markus Natter wrote:
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
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"
Just use lppasswd to add your name as an admin. There is -no- need to edit cupsd.conf. lppasswd -g sys -a <name> Enter password twice and you are set to go. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
Just use lppasswd to add your name as an admin. There is -no- need to edit cupsd.conf.
lppasswd -g sys -a <name>
Enter password twice and you are set to go.
-
Hey ken I did that an it still would not let me administrate, start or stop the printers. I went in an added my machines ip address to the cupsd.conf file as being allowed to access it an it worked after that. I even started an stopped the cups service an it would not work. now need to add my boss so he can do it when im out of office. maybe he can accomplish it without calling me but who knows.
![](https://seccdn.libravatar.org/avatar/7574aaee71d8971a36f4283a7cad6b2c.jpg?s=120&d=mm&r=g)
* Jack Malone <jmalone@horizonind.com> [07-08-05 12:29]: ...
I even started an stopped the cups service an it would not work. now need to add my boss so he can do it when im out of office. maybe he can accomplish it without calling me but who knows.
This should *only* be done in a mannner that is *certain* to *fail*. Maintaining *your* position is your first duty/law, ie: the third of "Three Laws of Robotics" per I. Asimov. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
![](https://seccdn.libravatar.org/avatar/41ed85ec60b719fa1654d12375dd9bd6.jpg?s=120&d=mm&r=g)
On Fri, 2005-07-08 at 12:26 -0500, Jack Malone wrote:
Just use lppasswd to add your name as an admin. There is -no- need to edit cupsd.conf.
lppasswd -g sys -a <name>
Enter password twice and you are set to go.
-
Hey ken I did that an it still would not let me administrate, start or stop the printers. I went in an added my machines ip address to the cupsd.conf file as being allowed to access it an it worked after that. I even started an stopped the cups service an it would not work. now need to add my boss so he can do it when im out of office. maybe he can accomplish it without calling me but who knows.
I have never needed to edit cupds.conf to admin cups. But then I always use kprinter or YaST to admin cups. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
I have never needed to edit cupds.conf to admin cups. But then I always use kprinter or YaST to admin cups. Hey ken so does kprinter let you start/stop individual printers like using
A the webpage interface of cups does. I have this problem here that sometimes one of the HP printers that the server is serving will stop printing. I find that when i log into the web interface that it has been stopped for some reason an I have to restart that printer. sometimes I have to go an clear out the whole queue for all printer after stoping cupsd an then restart cupsd an it will start printing again. but sometimes all I have to do is just log onto the web interface for cups an hit the restart button for the printer that has stopped working. I would love to know why it does this an how to put a stop to it. while out on vacation week before last one of them stopped ( at same time had the network switch fail that it is hooked to) an my boss though it was problem with printer so he called tech out. we had to pay for the tech guy coming since there was not a problem with the printer it self, we have maintance on them that if we use here toner they will work on the printers for us for free an we pay for parts. well off my soapbox on that for now before I get mad again hehehehe. jack
![](https://seccdn.libravatar.org/avatar/41ed85ec60b719fa1654d12375dd9bd6.jpg?s=120&d=mm&r=g)
On Fri, 2005-07-08 at 13:30 -0500, Jack Malone wrote:
I have never needed to edit cupds.conf to admin cups. But then I always use kprinter or YaST to admin cups. Hey ken so does kprinter let you start/stop individual printers like using
A the webpage interface of cups does. I have this problem here that sometimes one of the HP printers that the server is serving will stop printing. I find that when i log into the web interface that it has been stopped for some reason an I have to restart that printer. sometimes I have to go an clear out the whole queue for all printer after stoping cupsd an then restart cupsd an it will start printing again. but sometimes all I have to do is just log onto the web interface for cups an hit the restart button for the printer that has stopped working. I would love to know why it does this an how to put a stop to it. while out on vacation week before last one of them stopped ( at same time had the network switch fail that it is hooked to) an my boss though it was problem with printer so he called tech out. we had to pay for the tech guy coming since there was not a problem with the printer it self, we have maintance on them that if we use here toner they will work on the printers for us for free an we pay for parts. well off my soapbox on that for now before I get mad again hehehehe.
Yes it does, you can even restart cups if you need to. If you are on SuSE 9.3 after starting kprinter click on the administrator mode button and you will access to all of cups functions. You can even start kprinter remotely if you use ssh -X when you login. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
![](https://seccdn.libravatar.org/avatar/323dc8328bb611af85bc0596dc242fd3.jpg?s=120&d=mm&r=g)
Yes it does, you can even restart cups if you need to. If you are on SuSE 9.3 after starting kprinter click on the administrator mode button and you will access to all of cups functions. You can even start kprinter remotely if you use ssh -X when you login.
Kewl I will check into this next week. Will have to the try the shh-X out too from my test bench linux server in my office seeing as the production server is in another part of building. thanks jack
![](https://seccdn.libravatar.org/avatar/7739b4f93c546f5b9e90a9ee29b960c3.jpg?s=120&d=mm&r=g)
I had the same error In Cupsd.conf you have to go to these rows and change it separating basic e digest: AuthType Basic Digest AuthClass Group AuthGroupName sys Hi Paolo from Italy Jack Malone ha scritto:
Just use lppasswd to add your name as an admin. There is -no- need to edit cupsd.conf.
lppasswd -g sys -a <name>
Enter password twice and you are set to go.
-
Hey ken I did that an it still would not let me administrate, start or stop the printers. I went in an added my machines ip address to the cupsd.conf file as being allowed to access it an it worked after that. I even started an stopped the cups service an it would not work. now need to add my boss so he can do it when im out of office. maybe he can accomplish it without calling me but who knows.
participants (5)
-
Jack Malone
-
Ken Schneider
-
Markus Natter
-
paolo tiscali
-
Patrick Shanahan