Mailinglist Archive: opensuse-factory (393 mails)

< Previous Next >
Re: [opensuse-factory] Printing in openSUSE 10.3
  • From: Johannes Meixner <jsmeix@xxxxxxx>
  • Date: Mon, 12 Mar 2007 12:30:02 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0703121217510.23089@xxxxxxxxxxxxxx>

Hello,

On Mar 12 12:05 Carlos E. R. wrote (shortened):
> The Monday 2007-03-12 at 11:23 +0100, Johannes Meixner wrote:
> > On Mar 9 22:24 Carlos E. R. wrote (shortened):
> > > I have tried on my system, and I, with my user password,
> > > can add a new printer, via cups web interface.
> >
> > Not by default (in particular not on my openSUSE 10.2 system).
> > If it would be possible by default, it would be a major bug.
>
> No, of course not, not by default. I did it that way many months
> ago, so that I don't remember what I did O:-)

Puh!


> User lp
> Group lp
> RunAsUser Yes
...
> <Location /admin>
> AuthType BasicDigest
> AuthClass Group
> AuthGroupName sys
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> </Location>

This is a CUPS 1.1 cupsd.conf file.
I guess you did
lppasswd -g sys -a normal-user
see
http://en.opensuse.org/SDB:Printer_Configuration_from_SUSE_LINUX_9.0_on


When you use openSUSE 10.2 which has CUPS 1.2 where RunAsUser
is no longer supported, you may like to start from scratch
with an original CUPS 1.2 cupsd.conf file where you may like
to allow printer admin stuff for a normal user as follows:
--------------------------------------------------------------------
<Policy default>
...
<Limit ... CUPS-Add-Printer ...>
Require user @SYSTEM normal-user
--------------------------------------------------------------------


Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups