From owner-freebsd-questions Tue Feb 12 15: 3:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.the-i-pa.com (mail.the-i-pa.com [151.201.71.132]) by hub.freebsd.org (Postfix) with SMTP id 2E86F37B416 for ; Tue, 12 Feb 2002 15:03:33 -0800 (PST) Received: (qmail 16574 invoked from network); 12 Feb 2002 23:09:33 -0000 Received: from unknown (HELO proxy.pt.com) (151.201.71.209) by mail.the-i-pa.com with SMTP; 12 Feb 2002 23:09:33 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Bill Moran Organization: Potential Technology To: Garance A Drosihn , questions@FreeBSD.ORG Subject: Re: repost: owner is unable to delete print job Date: Tue, 12 Feb 2002 17:31:15 -0500 X-Mailer: KMail [version 1.2] References: <02021020255903.00314@proxy.pt.com> In-Reply-To: MIME-Version: 1.0 Message-Id: <02021217311501.00798@proxy.pt.com> Content-Transfer-Encoding: 8bit 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 On Monday 11 February 2002 23:14, Garance A Drosihn wrote: > 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'll try to find some time to dig through the source. > 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. The admin that would be involved in setting up user accounts isn't worth the trouble in this particular installation. Thanks for the reply. -- Bill Moran Potential Technology technical services http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message