Drucker Administration über http://localhost:631

Post Reply
Message
Author
Tux.Martin
Posts: 43
Joined: 26. Aug 2005 20:21
Location: Augsburg

Drucker Administration über http://localhost:631

#1 Post by Tux.Martin »

Nachdem ich endlich eine Drucker treiber für Brother MFC210c gefunden und installiert habe und der Drucker dann sogar noch über CUPS schön druckte, wollte ich über http://localhost:631 den Drucke administrieren. Dabei wird nach einem LOGIN mit PASSWORT gefragt. Nicht einmal root kann sich da anmelden. Weiß vielleicht jemand welches LOGIN benötigt wird, oder ob man root entsprechende Rechte geben kann ???
Grazie im Vorraus, Tux.Martin

petameta
prolinux-forum-admin
Posts: 1294
Joined: 14. Feb 2003 13:19

#2 Post by petameta »

root-login sollte funktionieren. Wenn nicht, überprüfe man die cupsd.conf, ob der localhost die entsprechenden Rechte hat.

User avatar
Hans Solo
prolinux-forum-admin
Posts: 601
Joined: 20. Apr 2004 12:19
Location: AT
Contact:

#3 Post by Hans Solo »

hi
schau mal in der
/etc/cups/cupsd.conf
nach was unter Location steht

zb:

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1

#Encryption Required
</Location>

wichtig ist was bei AuthType und AuthClass steht.

wenn du bei AuthType none eineträgst brauchst du kein passwort (aber nur zu testzwecken verwenden)

mfg
arno
[root@host]# cd /pub
[root@host]# more beer

Tux.Martin
Posts: 43
Joined: 26. Aug 2005 20:21
Location: Augsburg

Drucker administriieren mit http:localhost:631

#4 Post by Tux.Martin »

Leider funktioniert das Administrieren immer noch nicht. Obwohl die cupsd.conf richtig ist hat anscheinen root keine Rechte. Wer ist eigentlich lp ? Die Gruppe lp verstehe ich ja noch, aber den Besitzer lp ?!?
irgendwie habe ich das Gefühl, als ob root nicht der Gruppe lp angehört. Aber wie komme ich an die Rechte von root ???
Bitte helft mir. Gruss Tux.Martin

User avatar
Hans Solo
prolinux-forum-admin
Posts: 601
Joined: 20. Apr 2004 12:19
Location: AT
Contact:

#5 Post by Hans Solo »

hi
Obwohl die cupsd.conf richtig
anscheinend nicht!

aber poste mal deine cupsd.conf

mfg
arno
[root@host]# cd /pub
[root@host]# more beer

Tux.Martin
Posts: 43
Joined: 26. Aug 2005 20:21
Location: Augsburg

Administrieren von Druckern über http://localhost:631

#6 Post by Tux.Martin »

Hallo
die cupsd.conf sieht im entsprechnden Abschnitt wie folgt aus:
<Location /admin>
#
# You definitely will want to limit access to the administration functions.
# The default configuration requires a local connection from a user who
# is a member of the system group to do any admin tasks. You can change
# the group name using the SystemGroup directive.
#

AuthType Basic
AuthClass System
AuthGroupName sys

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1

#Encryption Required
</Location>

#
# End of "$Id: cupsd.conf.in,v 1.13 2003/04/10 20:14:04 mike Exp $".
#

Vielleicht gibt es noch einen anderen Abschnitt, den ich ändern muß.
Danke für die Mühe, Gruss Tux.Martin

tom servo
Posts: 225
Joined: 01. Jun 2004 9:36

#7 Post by tom servo »

Nutzt du (K/)Ubuntu?

Dann musst du den Benutzer "cupsys" in die Gruppe "shadow" (/etc/shadow) aufnehmen.
Siehe http://www.cetico.org/blog/2004/12/solu ... 0679007701

MfG

User avatar
Hans Solo
prolinux-forum-admin
Posts: 601
Joined: 20. Apr 2004 12:19
Location: AT
Contact:

#8 Post by Hans Solo »

hi
dokummentier das
AuthGroupName sys
aus
so:
#AuthGroupName sys

cups neustarten
usw.

mfg
arno
[root@host]# cd /pub
[root@host]# more beer

Tux.Martin
Posts: 43
Joined: 26. Aug 2005 20:21
Location: Augsburg

Administrieren von Druckern über http://localhost:631

#9 Post by Tux.Martin »

Hallo,
dank Euer aller Hilfe, jetzt habe ich die Lösung gefunden. Im Abschnitt Filter Options muß der User root eingetragen werden.
Siehe http://www.cetico.org/blog/2004/12/solu ... 0679007701

#
# User/Group: the user and group the server runs under. Normally this
# must be lp and lp, however you can configure things for another
# user or group as needed.
#
# Note: the server must be run initially as root to support the
# default IPP port of 631. It changes users whenever an external
# program is run, or if the RunAsUser directive is specified...
#

User lp
User root
Group lp
RunAsUser Yes

#

Vielen Dank allen, die mitgeholfen haben.
Gruss Tux.Martin

Post Reply