From owner-freebsd-questions Mon Feb 11 20:41:18 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 0BF4C37D2BA for ; Mon, 11 Feb 2002 20:14:35 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id g1C4EMl64062; Mon, 11 Feb 2002 23:14:26 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <02021020255903.00314@proxy.pt.com> References: <02021020255903.00314@proxy.pt.com> Date: Mon, 11 Feb 2002 23:14:21 -0500 To: Bill Moran , questions@FreeBSD.ORG From: Garance A Drosihn Subject: Re: repost: owner is unable to delete print job Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 8:25 PM -0500 2/10/02, Bill Moran wrote: >I posted this a few days ago and have gotten no replies so far. > >Samba set up as a print server on FreeBSD. All users mapped to >"nobody" but nobody can't delete a print job once it's created it. >lpq show that the print job belongs to nobody, but if user nobody >tries to lprm it, permission is denied. > >I believe I've determined that this is _not_ a samba problem, as >I tweaked the nobody account to allow login and tried deleting >print jobs from the console. lpq shows the job belonging to >"nobody", but lprm returns "permission denied". > >Is there anything special about the "nobody" user that would cause >this? I meant to reply back then, but I didn't have the time to recheck the source code. My guess is that 'nobody' is a bad name to use for such things. 'nobody' means 'nobody', it does not mean "guest userid that everyone uses". That's why nobody is setup so that it does not allow you to log into it. I haven't looked at the lpd source code yet to make sure that is true, but that's kind of what I would expect. If that is the case, then you'd want to create some other userid for those jobs to come in as, and then map everyone to that 'guest' account. Note that this will result in everyone being able to delete everyone else's job. -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message