From owner-freebsd-bugs Thu Jan 14 07:40:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA19585 for freebsd-bugs-outgoing; Thu, 14 Jan 1999 07:40:42 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA19570 for ; Thu, 14 Jan 1999 07:40:37 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id HAA23840; Thu, 14 Jan 1999 07:40:02 -0800 (PST) Date: Thu, 14 Jan 1999 07:40:02 -0800 (PST) Message-Id: <199901141540.HAA23840@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Garrett Wollman Subject: bin/9485: lpr uses wrong username (3.0-R) Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/9485; it has been noted by GNATS. From: Garrett Wollman To: kheuer@gwdu60.gwdg.de Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/9485: lpr uses wrong username (3.0-R) Date: Thu, 14 Jan 1999 10:34:06 -0500 (EST) < said: > 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. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message