Kprinter is set up for anonymous login for the Cups server but I can't login with user name set to blank, anonymous or anything else. Anyone know why? Thanks, Jerome
-----Original Message-----
From: Jerome Lyles
Kprinter is set up for anonymous login for the Cups server but I can't login with user name set to blank, anonymous or anything else. Anyone know why? Thanks, Jerome
You need a user to the cups auth database
lppasswd -g sys -a
Hello, On Jun 28 19:13 Ken Schneider wrote (shortened):
Seems like this question comes up once a month.
Perhaps a cron job which posts http://portal.suse.com/sdb/en/2003/09/jsmeix_print-einrichten-90.html once a month would help? Even better: Let's post the whole support database once a month. Regards Johannes Meixner -- SUSE LINUX AG, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
On Monday 28 June 2004 01:13 pm, Ken Schneider wrote:
-----Original Message----- From: Jerome Lyles
To: suse-linux-e@suse.com Date: Mon, 28 Jun 2004 11:02:25 -1000 Subject: [SLE] Cups login Kprinter is set up for anonymous login for the Cups server but I can't login with user name set to blank, anonymous or anything else. Anyone know why? Thanks, Jerome
You need a user to the cups auth database
lppasswd -g sys -a
You can add any user you want, makes no difference. You can add as many users as you want as well.
Seems like this question comes up once a month.
Ken
Hi Ken, This does come up often, I remember this answernow that I see it again. It has worked for me in the past. This time though something else is also wrong. This command doesn't solve the problem: # lppasswd -g sys -a me Enter password: Enter password again: # No change, Jerome
On Monday 28 June 2004 01:13 pm, Ken Schneider wrote:
-----Original Message----- From: Jerome Lyles
To: suse-linux-e@suse.com Date: Mon, 28 Jun 2004 11:02:25 -1000 Subject: [SLE] Cups login Kprinter is set up for anonymous login for the Cups server but I can't login with user name set to blank, anonymous or anything else. Anyone know why? Thanks, Jerome
You need a user to the cups auth database
lppasswd -g sys -a
You can add any user you want, makes no difference. You can add as many users as you want as well.
Seems like this question comes up once a month.
Ken
Hi Ken,
This does come up often, I remember this answernow that I see it again. It
has worked for me in the past. This time though something else is also wrong.
This command doesn't solve the problem:
# lppasswd -g sys -a me
Enter password:
Enter password again:
#
No change,
I've been reading the cupsd.conf file and it says that anonymous access is the
default. But it also says this:
On Monday 28 June 2004 01:13 pm, Ken Schneider wrote:
-----Original Message----- From: Jerome Lyles
To: suse-linux-e@suse.com Date: Mon, 28 Jun 2004 11:02:25 -1000 Subject: [SLE] Cups login Kprinter is set up for anonymous login for the Cups server but I can't login with user name set to blank, anonymous or anything else. Anyone know why? Thanks, Jerome
You need a user to the cups auth database
lppasswd -g sys -a
You can add any user you want, makes no difference. You can add as many users as you want as well.
Seems like this question comes up once a month.
Ken
Hi Ken,
This does come up often, I remember this answernow that I see it again. It
has worked for me in the past. This time though something else is also wrong.
This command doesn't solve the problem:
# lppasswd -g sys -a me
Enter password:
Enter password again:
#
No change,
I've been reading the cupsd.conf file and it says that anonymous access is the
default. But it also says this:
* Jerome Lyles
ThOBis does come up often, I remember this answernow that I see it again. It has worked for me in the past. This time though something else is also wrong. This command doesn't solve the problem:
# lppasswd -g sys -a me Enter password: Enter password again: # No change, .... <much cut>
Why don't you delete /etc/cups/passwd.* and then go thru the lppasswd process again with a longer, better descriptive name? Then try to access localhost:631/. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Friday 02 July 2004 09:02 am, Patrick Shanahan wrote:
* Jerome Lyles
[07-02-04 13:47]: ....
<snip> This command doesn't solve the problem:
# lppasswd -g sys -a me Enter password: Enter password again: # No change,
.... <much cut>
Why don't you delete /etc/cups/passwd.* and then go thru the lppasswd process again with a longer, better descriptive name? Then try to access localhost:631/. -- I deleted /etc/cups/passwd.*. Went thru the lppasswd process again. Now the error message is (localhost:631):
Not Found The requested resource was not found on this server. I only deleted the lppasswd file, used lppasswd to set up my user and point the browser at localhost:631. Here is todays output from my cups access_log: localhost - - [10/Jul/2004:08:32:32 -1000] "GET /cups.css HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:32 -1000] "GET /favicon.ico HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:33 -1000] "GET /images/right.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:33 -1000] "GET /images/printer-idle.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:33 -1000] "GET /images/navbar.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:33 -1000] "GET /images/left.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/print-test-page.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/reject-jobs.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/stop-printer.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/modify-printer.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/delete-printer.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/config-printer.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:32:34 -1000] "GET /images/add-printer.gif HTTP/1.1" 404 0 localhost - - [10/Jul/2004:08:35:53 -1000] "GET / HTTP/1.1" 404 0 No errors in the error_log. Any ideas on what to do next? Thanks, Jerome
* Jerome Lyles
I deleted /etc/cups/passwd.*. Went thru the lppasswd process again. Now the error message is (localhost:631):
Not Found The requested resource was not found on this server.
This would indicate to me that cupsd was not running. /usr/sbin/rccups status will confirm. At any rate, as root restart cups, /usr/sbin/rccups restart Then try to access localhost:631 -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
On Saturday 10 July 2004 09:42 am, Patrick Shanahan wrote:
* Jerome Lyles
[07-10-04 13:54]: I deleted /etc/cups/passwd.*. Went thru the lppasswd process again. Now the error message is (localhost:631):
Not Found The requested resource was not found on this server.
This would indicate to me that cupsd was not running.
/usr/sbin/rccups status
will confirm.
At any rate, as root restart cups,
/usr/sbin/rccups restart
Then try to access localhost:631
:~> /usr/sbin/rccups status Checking for cupsd: running :~> su Password: # /usr/sbin/rccups restart Shutting down cupsd done Starting cupsd done http://localhost:631 Not Found The requested resource was not found on this server. The cupsd was running but I shut it down and restarted anyway. Before I deleted '/etc/cups/passwd.*' I could access localhost:631, I deleted it reentered my password using lppasswd and now this. I don't see how deleting the passwd.* and replacing it could cause this. Are there other commands I could use to debug this? For example,'The requested resource was not found on this server.'. Which resource is this likely to be and where is it supposed to be? Thanks, Jerome
On Saturday 10 July 2004 20:53, Jerome Lyles wrote:
I deleted /etc/cups/passwd.*. <snip> localhost - - [10/Jul/2004:08:32:32 -1000] "GET /cups.css HTTP/1.1" 404 0
404 is "File not found". Did you delete more than you thought you did perhaps? Do you have /usr/share/doc/packages/cups/cups.css? Do you have anything at all in that directory?
On Thursday 15 July 2004 06:34 pm, Anders Johansson wrote:
On Saturday 10 July 2004 20:53, Jerome Lyles wrote:
I deleted /etc/cups/passwd.*.
<snip>
localhost - - [10/Jul/2004:08:32:32 -1000] "GET /cups.css HTTP/1.1" 404 0
404 is "File not found". Did you delete more than you thought you did perhaps?
I may have made a mistake but I doubt it. In any case I'm going to reinstall the server software and see if that helps.
Do you have /usr/share/doc/packages/cups/cups.css? Do you have anything at all in that directory?
Yes I do: H1 { font-family: sans-serif } H2 { font-family: sans-serif } TH { text-align: left } Jerome
On Sat, 2004-07-17 at 11:18 -1000, Jerome Lyles wrote:
On Thursday 15 July 2004 06:34 pm, Anders Johansson wrote:
On Saturday 10 July 2004 20:53, Jerome Lyles wrote:
I deleted /etc/cups/passwd.*.
<snip>
localhost - - [10/Jul/2004:08:32:32 -1000] "GET /cups.css HTTP/1.1" 404 0
404 is "File not found". Did you delete more than you thought you did perhaps?
I may have made a mistake but I doubt it.
Well something's obviously not right
In any case I'm going to reinstall the server software and see if that helps.
Do you have /usr/share/doc/packages/cups/cups.css? Do you have anything at all in that directory?
Yes I do: H1 { font-family: sans-serif } H2 { font-family: sans-serif } TH { text-align: left }
Then you must have edited /etc/cups/cups.conf to set a different DocumentRoot, or installed some other version of cups with a different DocumentRoot default
participants (5)
-
Anders Johansson
-
Jerome Lyles
-
Johannes Meixner
-
Ken Schneider
-
Patrick Shanahan