PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > CUPS: unable to configure printer
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

CUPS: unable to configure printer

Réponse
 
LinkBack Outils de la discussion
Vieux 28/07/2007, 04h30   #1
Thomas Beresford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut CUPS: unable to configure printer

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 me, this
problem is killing me!

Regards,
Thomas Beresford

  Réponse avec citation
Vieux 28/07/2007, 05h00   #2
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: CUPS: unable to configure printer

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 06h20   #3
Russell L. Harris
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: CUPS: unable to configure printer

* Thomas Beresford <tom.beresford@gmail.com> [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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 08h20   #4
Ken Irving
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: CUPS: unable to configure printer

On Fri, Jul 27, 2007 at 11:18:26PM -0500, Russell L. Harris wrote:
> * Thomas Beresford <tom.beresford@gmail.com> [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, fnkci@uaf.edu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 08h50   #5
Ken Irving
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: CUPS: unable to configure printer

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 <tom.beresford@gmail.com> [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, fnkci@uaf.edu


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 28/07/2007, 16h20   #6
Thomas Beresford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: CUPS: unable to configure printer

On 7/28/07, Ken Irving <fnkci@uaf.edu> 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 <tom.beresford@gmail.com> [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, fnkci@uaf.edu



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?

  Réponse avec citation
Vieux 28/07/2007, 17h00   #7
Douglas Allan Tutty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: CUPS: unable to configure printer

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h32.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14480 seconds with 15 queries