Re: CUPS: unable to configure printer

2007-07-28 Thread Douglas Allan Tutty
On Sat, Jul 28, 2007 at 11:16:29AM -0300, Thomas Beresford wrote:
 
> I can't believe this but I finally found what was the problem. The problem
> was the root password (and my regular user password too), because they had
> special characters that for some reason didn't work inside firefox, although
> these characters can be typed correctly (probably it's a encoding problem).
> I changed the root password for another one that doesn't use special
> characters and bingo, it worked.
> 
> Anyway, I wish I could add a different user and password since I don't want
> to change my current passwords, but lppasswd still doesn't work because of
> the "permission denied" problem that I mentioned before. Do I really have to
> use the same user/password of my linux system into CUPS?

Since using special characters is an important security feature
especially for root, I would keep the characters and use a different
method to configure printing.  Try foomatic-GUI if you want to stick
with cups, or ditch cups and go with lprng and either foomatic
printfilters (with possibly foomatic-GUI) or apsfilter.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CUPS: unable to configure printer

2007-07-28 Thread Thomas Beresford
On 7/28/07, Ken Irving <[EMAIL PROTECTED]> wrote:
>
> On Fri, Jul 27, 2007 at 10:16:28PM -0800, Ken Irving wrote:
> > On Fri, Jul 27, 2007 at 11:18:26PM -0500, Russell L. Harris wrote:
> > > * Thomas Beresford <[EMAIL PROTECTED]> [070727 22:49]:
> > > >Hello,
> > > >
> > > >I tried to setup my HP PSC 1315 printer today on my Debian Etch
> running
> > > >CUPS 1.2.12. So I used hp-setup to configure my printer and it
> was all
> > > >right, but when I tried to configure its parameters at the CUPS
> admin
> > > >page, it asked for a user/password, and I used my root
> username/password
> > > >but it didn't work for my surprise.
> > >
> > > "...my my root username/password..." ???  The username of root is
> "root".
> > >
> > > On my system, this works:
> > >
> > > username:  root
> > > password:  the_password_of_root
> >
> > I'm unable to find where this is documented, but add your user to the
> > 'lpadmin' group, and you can use your regular user password for the cups
> > admin web pages.
>
> Still looking...
>
>   $ zless cupsys-common/changelog.Debian.gz
> ...
> CUPS SystemGroup is 'lpadmin'. You need to add users who are allowed
> to add/modify/remove printers/jobs/classes.
>
>
> --
> Ken Irving, [EMAIL PROTECTED]


I can't believe this but I finally found what was the problem. The problem
was the root password (and my regular user password too), because they had
special characters that for some reason didn't work inside firefox, although
these characters can be typed correctly (probably it's a encoding problem).
I changed the root password for another one that doesn't use special
characters and bingo, it worked.

Anyway, I wish I could add a different user and password since I don't want
to change my current passwords, but lppasswd still doesn't work because of
the "permission denied" problem that I mentioned before. Do I really have to
use the same user/password of my linux system into CUPS?


Re: CUPS: unable to configure printer

2007-07-27 Thread Ken Irving
On Fri, Jul 27, 2007 at 10:16:28PM -0800, Ken Irving wrote:
> On Fri, Jul 27, 2007 at 11:18:26PM -0500, Russell L. Harris wrote:
> > * Thomas Beresford <[EMAIL PROTECTED]> [070727 22:49]:
> > >Hello,
> > > 
> > >I tried to setup my HP PSC 1315 printer today on my Debian Etch running
> > >CUPS 1.2.12. So I used hp-setup to configure my printer and it was all
> > >right, but when I tried to configure its parameters at the CUPS admin
> > >page, it asked for a user/password, and I used my root 
> > > username/password
> > >but it didn't work for my surprise. 
> > 
> > "...my my root username/password..." ???  The username of root is "root".
> > 
> > On my system, this works:
> > 
> > username:  root
> > password:  the_password_of_root
>  
> I'm unable to find where this is documented, but add your user to the
> 'lpadmin' group, and you can use your regular user password for the cups
> admin web pages.

Still looking...

  $ zless cupsys-common/changelog.Debian.gz
...
CUPS SystemGroup is 'lpadmin'. You need to add users who are allowed
to add/modify/remove printers/jobs/classes.


-- 
Ken Irving, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CUPS: unable to configure printer

2007-07-27 Thread Ken Irving
On Fri, Jul 27, 2007 at 11:18:26PM -0500, Russell L. Harris wrote:
> * Thomas Beresford <[EMAIL PROTECTED]> [070727 22:49]:
> >Hello,
> > 
> >I tried to setup my HP PSC 1315 printer today on my Debian Etch running
> >CUPS 1.2.12. So I used hp-setup to configure my printer and it was all
> >right, but when I tried to configure its parameters at the CUPS admin
> >page, it asked for a user/password, and I used my root username/password
> >but it didn't work for my surprise. 
> 
> "...my my root username/password..." ???  The username of root is "root".
> 
> On my system, this works:
> 
> username:  root
> password:  the_password_of_root
 
I'm unable to find where this is documented, but add your user to the
'lpadmin' group, and you can use your regular user password for the cups
admin web pages.

Ken

-- 
Ken Irving, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CUPS: unable to configure printer

2007-07-27 Thread Russell L. Harris
* Thomas Beresford <[EMAIL PROTECTED]> [070727 22:49]:
>Hello,
> 
>I tried to setup my HP PSC 1315 printer today on my Debian Etch running
>CUPS 1.2.12. So I used hp-setup to configure my printer and it was all
>right, but when I tried to configure its parameters at the CUPS admin
>page, it asked for a user/password, and I used my root username/password
>but it didn't work for my surprise. 

"...my my root username/password..." ???  The username of root is "root".

On my system, this works:

username:  root
password:  the_password_of_root


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CUPS: unable to configure printer

2007-07-27 Thread Douglas Allan Tutty
On Fri, Jul 27, 2007 at 11:23:39PM -0300, Thomas Beresford wrote:
> I tried to setup my HP PSC 1315 printer today on my Debian Etch running CUPS
> 1.2.12. So I used hp-setup to configure my printer and it was all right, but
> when I tried to configure its parameters at the CUPS admin page, it asked
> for a user/password, and I used my root username/password but it didn't work
> for my surprise. After searching and reading several topics regarding this
> issue, I tried to use as root lppasswd -x root to reset the password but I
> had this problem:

What happens if you use your own user/password?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



CUPS: unable to configure printer

2007-07-27 Thread Thomas Beresford
Hello,

I tried to setup my HP PSC 1315 printer today on my Debian Etch running CUPS
1.2.12. So I used hp-setup to configure my printer and it was all right, but
when I tried to configure its parameters at the CUPS admin page, it asked
for a user/password, and I used my root username/password but it didn't work
for my surprise. After searching and reading several topics regarding this
issue, I tried to use as root lppasswd -x root to reset the password but I
had this problem:

lppasswd: Unable to open password file: Permission denied.

So I tried several solutions that other people tried but none worked for me
such as adding root to lpadmin group and adding cupsys to the shadow group,
restarting cupsd, rebooting... and so on. Please could someone help me, this
problem is killing me!

Regards,
Thomas Beresford