LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   cant get root access with cups (https://www.linuxquestions.org/questions/linux-hardware-18/cant-get-root-access-with-cups-205393/)

motaguense 07-15-2004 10:37 AM

cant get root access with cups
 
Hey everybody
I am trying to get my hp psc 1100 setup so I downloaded hpoj-0.9. I did the whole ./configure make make install and got to the poing where I ran ptal-init . Everything seems to work fine except that when I try tp run ptal-print <devname> I get an error saying I cant connect. Added to that when I try and use CUPS to configure the printer and it prompts me for a username and password. I use root and my password but I get an error saying I am not authorized. I have tried several times and i KNOW what my password is, in fact I try and login as root in a terminal and no problem.

Any help would be appreciated.
Thanks

netmask 07-15-2004 10:43 AM

Check your apache logs, some users I know experienced problems with CUPS when using long root passwords. Your situation might be different, but you will definitely know why it's refusing you access.

The default logfile is /var/log/apache/access.log

motaguense 07-15-2004 12:42 PM

the log doesn't really provide any clues
more access_log
127.0.0.1 - - [22/Jun/2004:22:57:33 -0500] "GET /susehelp/ HTTP/1.0" 404 1041 "-" "Wget/1.9.1"
linux:/var/log/apache2 # pwd
/var/log/apache2

free_ouyo 07-15-2004 01:06 PM

Re:cups
 
Hi,

- You have to configure cups by adding authorized users (not the defined users).

- If you use the KDE Management Utilities, it 'll allow you to configure some printers in graphical mode (use cups but don't ask user and passwd).

- With SuSE, I think it possible to configure the printer with Yast (never used this way).

I hope this will help you.

Free_ouyo

motaguense 07-15-2004 01:18 PM

I have used YAST to configure the printer and it recgnizes it and I can print with it, but I cant scan. My box is one of those hp all in one printer, scanner, copiers. So I tried to manually configure it using the ptal-XXX utilities. When doing this is when I need ot use CUPS to access a web based utility. That is where I am having the problem
you mentioned that I need to add authorized users...how do I do that? How come none of the documentation says anything about it?
thanks


All times are GMT -5. The time now is 12:33 AM.