From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 84AD21381F3 for ; Tue, 7 May 2013 23:14:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB6C9E0929; Tue, 7 May 2013 23:13:57 +0000 (UTC) Received: from mail119c7.megamailservers.com (mail119c7-2520.megamailservers.com [69.49.98.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF739E08EC for ; Tue, 7 May 2013 23:13:56 +0000 (UTC) X-POP-User: admin.sys-concept.com Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail119c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id r47NDsUx006676 for ; Tue, 7 May 2013 19:13:55 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 27DCD2006D4; Tue, 7 May 2013 17:14:02 -0600 (MDT) Date: Tue, 7 May 2013 17:14:02 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] cups - print job owner Message-ID: <20130507231402.GB5718@syscon7.inet> References: <20130507154842.GA5718@syscon7.inet> <201305072147.27730.michaelkintzios@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201305072147.27730.michaelkintzios@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CSC: 0 X-CHA: v=1.1 cv=aXvhzsKj5eu6np1zN/Ig2PXNuI+XmzYQzZtXeRZa3UY= c=1 sm=1 a=wom5GMh1gUkA:10 a=9x92vf6XhcUA:10 a=nDghuxUhq_wA:10 a=IkcTkHD0fZMA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=QiOmFFwDL35dFk7Tn7IA:9 a=QEXdDO2ut3YA:10 a=C3ZDv51cNVt4vJz/79I2xQ==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020205.51898AB3.0101,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Archives-Salt: 6da0400f-bdb4-4260-9d00-241b566c964c X-Archives-Hash: 836f53761cf8714843534d90554a52ee On 05/07/13 21:46, Mick wrote: >On Tuesday 07 May 2013 16:48:42 Joseph wrote: >> When I submit print job to my network printer cups display on the web-page: >> >> ▼ ID ▼ Name User Size Pages >> Brother-2907 Unknown Withheld 42k >> >> So I can not delete the print job as I'm not the owner. >> How to control the ownership of the print job? >> >> In cupsd.conf I have: >> ... >> # Only the owner or an administrator can cancel or authenticate a job... >> >> Require user @OWNER @SYSTEM >> Order deny,allow >> >> ... >> >> I could make a short-cat and add: >> Allow from my_ip_address >> >> but I don't think this is a good solution. > >Try something like this: > >$ cat /etc/group | grep lp >lp:x:7:lp,michael >lpadmin:x:106: > >That should allow you to cancel print jobs, otherwise sudo cancel. > >-- >Regards, >Mick That is what I have: $ cat /etc/group | grep lp lp:x:7:lp,joseph lpadmin:x:106: I still can not delete print job unless I'm root. -- Joseph