Slackware 12.1 (as root) and CUPS

Marv Soloff msoloff at verizon.net
Mon May 19 18:25:13 PDT 2008


> Dies ist eine mehrteilige Nachricht im MIME-Format.
> --=_alternative 00399ADEC125744E_=
> Content-Type: text/plain; charset="utf-8"
> content-transfer-encoding: quoted-printable
>
> Hi,
>
> > For a number of reasons, I am running Slackware 12.1 as root.  My=20
> > CUPS setup is correct but passing the print job to my printer is=20
> > denied because I am not part of the "lp"
> > group. How can I get  CUPS to allow print requests to go to the=20
> > printer as root?
>
> Working permanently as root? Hm. There may be better ideas, but hey - each=
> =20
> to his own...
>
> have a look at your cupsd-config. Check "User lp" and "Group lp" settings=20
> as well as the "RunAsUser" entry (defines the user and group cupsd runs=20
> under), and check your "SystemGroup" entry (specifies the group that may=20
> administrate CUPS) - that may be set as "lp" but can of course also be set=
> =20
> to "root".=20
>
> Also have a look at the "AuthGroupName" setting (defines the group of=20
> users that can use the web interface) - in my default setup, that is set=20
> to "sys" while the "SystemGroup" has not been set, so in order to get to=20
> the admin interface, a user has to be member of the "sys" group instead.=20
> You may want to change that as well.
>
> > Marv
>
> Kind regards
>    Gerard
>
>
>
>
> INFO Gesellschaft f=C3=BCr Informationssysteme AG
> Zentrale Hamburg
> Aufsichtsratsvorsitzender: Frank Winkler
> Vorstand: Ernst M=C3=BCller (Vorstandsvorsitzender), Stefan Freyer, Holger =
> Sievers, Hannes Zeiner
> Amtsgericht Hamburg, HRB 36067=20
>
> INFO Business Systems GmbH
> Zentrale Hamburg
> Gesch=C3=A4ftsf=C3=BChrung: Ernst M=C3=BCller, Holger Sievers
> Amtsgericht Hamburg, HRB 66606
>
> Diese E-Mail k=C3=B6nnte vertrauliche und/oder rechtlich gesch=C3=BCtzte In=
> formationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese=
>  E-Mail irrt=C3=BCmlich erhalten haben, informieren Sie bitte sofort den Ab=
> sender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unb=
> efugte Weitergabe dieser Mail sind nicht gestattet.
>
> This e-mail may contain confidential and/or privileged information. If you =
> are not the intended recipient (or have received this e-mail in error) plea=
> se notify the sender immediately and destroy this e-mail. Any unauthorised =
> copying, disclosure or distribution of the material in this e-mail is stric=
> tly forbidden.
> --=_alternative 00399ADEC125744E_=
> Content-Type: text/html; charset="utf-8"
> content-transfer-encoding: quoted-printable
>
>
> <br><tt><font size=3D2>Hi,</font></tt>
> <br>
> <br><tt><font size=3D2>> For a number of reasons, I am running Slackware
> 12.1 as root.  My <br>
> > CUPS setup is correct but passing the print job to my printer is <br>
> > denied because I am not part of the "lp"<br>
> > group. How can I get  CUPS to allow print requests to go to the
> <br>
> > printer as root?</font></tt>
> <br>
> <br><tt><font size=3D2>Working permanently as root? Hm. There may be better
> ideas, but hey - each to his own...</font></tt>
> <br>
> <br><tt><font size=3D2>have a look at your cupsd-config. Check "User
> lp" and "Group lp" settings as well as the "RunAsUser&q=
> uot;
> entry (defines the user and group cupsd runs under), and check your "S=
> ystemGroup"
> entry (specifies the group that may administrate CUPS) - that may be set
> as "lp" but can of course also be set to "root". </font=
> ></tt>
> <br>
> <br><tt><font size=3D2>Also have a look at the "AuthGroupName"
> setting (defines the group of users that can use the web interface) - in
> my default setup, that is set to "sys" while the "SystemGrou=
> p"
> has not been set, so in order to get to the admin interface, a user has
> to be member of the "sys" group instead. You may want to change
> that as well.</font></tt>
> <br>
> <br><tt><font size=3D2>> Marv<br>
> </font></tt>
> <br><tt><font size=3D2>Kind regards</font></tt>
> <br><tt><font size=3D2>   Gerard</font></tt>
> <br>
> <br>
> <span style=3D"font-family:sans-serif,helvetica; font-size:10pt; color:#000=
> 000"><br>
> <br>
> INFO Gesellschaft f=C3=BCr Informationssysteme AG<br>
> Zentrale Hamburg<br>
> Aufsichtsratsvorsitzender: Frank Winkler<br>
> Vorstand: Ernst M=C3=BCller (Vorstandsvorsitzender), Stefan Freyer, Holger =
> Sievers, Hannes Zeiner<br>
> Amtsgericht Hamburg, HRB 36067 <br>
> <br>
> INFO Business Systems GmbH<br>
> Zentrale Hamburg<br>
> Gesch=C3=A4ftsf=C3=BChrung: Ernst M=C3=BCller, Holger Sievers<br>
> Amtsgericht Hamburg, HRB 66606<br>
> <br>
> Diese E-Mail k=C3=B6nnte vertrauliche und/oder rechtlich gesch=C3=BCtzte In=
> formationen enthalten. Wenn Sie nicht der richtige Adressat sind oder diese=
>  E-Mail irrt=C3=BCmlich erhalten haben, informieren Sie bitte sofort den Ab=
> sender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unb=
> efugte Weitergabe dieser Mail sind nicht gestattet.<br>
> <br>
> This e-mail may contain confidential and/or privileged information. If you =
> are not the intended recipient (or have received this e-mail in error) plea=
> se notify the sender immediately and destroy this e-mail. Any unauthorised =
> copying, disclosure or distribution of the material in this e-mail is stric=
> tly forbidden.</span><br>
> --=_alternative 00399ADEC125744E_=--
>

Thanks! Will try it.

Marv




More information about the cups mailing list