From owner-freebsd-bugs Fri Jan 15 00:59:16 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA12866 for freebsd-bugs-outgoing; Fri, 15 Jan 1999 00:59:16 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA12861 for ; Fri, 15 Jan 1999 00:59:12 -0800 (PST) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.9.0/8.9.0) with SMTP id JAA00601; Fri, 15 Jan 1999 09:57:34 +0100 (CET) Date: Fri, 15 Jan 1999 09:57:34 +0100 (CET) From: Konrad Heuer To: Christoph Kukulies cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/9485: lpr uses wrong username (3.0-R) In-Reply-To: <19990115093845.B13768@gil.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id AAA12862 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 15 Jan 1999, Christoph Kukulies wrote: > > > 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). > > Can't you just use the -U user option on the lpr client side? Just an idea. > Or am I off target? `-U' might be a workaround but in my opinion that's not the right away. E.g., either smbd has to be run by daemon to make `-U' work, or I'd to specify `du=root' for each printer queue in `/etc/printcap'. 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