Date: Tue, 12 Feb 2002 17:31:15 -0500 From: Bill Moran <wmoran@potentialtech.com> To: Garance A Drosihn <drosih@rpi.edu>, questions@FreeBSD.ORG Subject: Re: repost: owner is unable to delete print job Message-ID: <02021217311501.00798@proxy.pt.com> In-Reply-To: <p05101405b88e465dbd33@[128.113.24.47]> References: <02021020255903.00314@proxy.pt.com> <p05101405b88e465dbd33@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02021217311501.00798>