Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 09:57:34 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdu60.gwdg.de>
To:        Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/9485: lpr uses wrong username (3.0-R)
Message-ID:  <Pine.BSF.3.96.990115095334.596A-100000@gwdu60.gwdg.de>
In-Reply-To: <19990115093845.B13768@gil.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990115095334.596A-100000>