Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 09:38:45 +0100
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        Konrad Heuer <kheuer@gwdu60.gwdg.de>, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/9485: lpr uses wrong username (3.0-R)
Message-ID:  <19990115093845.B13768@gil.physik.rwth-aachen.de>
In-Reply-To: <199901150750.XAA21893@freefall.freebsd.org>; from Konrad Heuer on Thu, Jan 14, 1999 at 11:50:02PM -0800
References:  <199901150750.XAA21893@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 14, 1999 at 11:50:02PM -0800, Konrad Heuer wrote:
> 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). 

Can't you just use the -U user option on the lpr client side? Just an idea.
Or am I off target?

>  
>  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

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.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?19990115093845.B13768>