Date: Thu, 14 Jan 1999 23:50:02 -0800 (PST) From: Konrad Heuer <kheuer@gwdu60.gwdg.de> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/9485: lpr uses wrong username (3.0-R) Message-ID: <199901150750.XAA21893@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/9485; it has been noted by GNATS. From: Konrad Heuer <kheuer@gwdu60.gwdg.de> To: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/9485: lpr uses wrong username (3.0-R) Date: Fri, 15 Jan 1999 08:42:08 +0100 (CET) On Thu, 14 Jan 1999, Garrett Wollman wrote: > > Login on a 3.0-R system as root and stop an arbitrary printer > > queue to make sure that you've time enough to look a the queue. > > Print a file (lpr). The su to a normal user and print again. > > Take a look at the queue by lpq. Both jobs are owned by root. > > This was intentional -- all files are printed under the login of the > user, unless no login context is present, in which case it falls back > to the old mechanism. See setlogin(2). The intent is to make life > easier for large sites where many people have root access and still > want to distinguish their print requests. I agree, that seems to be desirable. But what's about Samba? The smbd process is run by root, and all print jobs accepted by smbd are now owned by root. That's not acceptable for a lot of people I think (and for me too :-) since I want to build a large printer server for many people). Regards // // Konrad Heuer ____ ___ _______ // Gesellschaft für wissenschaftliche / __/______ ___ / _ )/ __/ _ \ // Datenverarbeitung mbH GÖttingen / _// __/ -_) -_) _ |\ \/ // / // Am Faßberg, D-37077 GÖttingen /_/ /_/ \__/\__/____/___/____/ // Deutschland (Germany) ----- The Power to Serve ----- // http://www.freebsd.org // kheuer@gwdu60.gwdg.de // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901150750.XAA21893>