From owner-freebsd-hackers Mon Dec 17 1:46: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id A996337B432 for ; Mon, 17 Dec 2001 01:45:58 -0800 (PST) Received: from pool0052.cvx40-bradley.dialup.earthlink.net ([216.244.42.52] helo=mindspring.com) by pintail.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16FuKu-0001qH-00; Mon, 17 Dec 2001 01:45:28 -0800 Message-ID: <3C1DBEBA.FE49EC65@mindspring.com> Date: Mon, 17 Dec 2001 01:45:30 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Anthony Schneider Cc: Andreas Klemm , apsfilter-hackers@apsfilter.org, freebsd-hackers@FreeBSD.ORG Subject: Re: aps2file doesn't work on FreeBSD References: <20011216203550.GA7135@titan.klemm.gtn.com> <20011216155358.A34707@mail.slc.edu> <20011216211318.GA902@titan.klemm.gtn.com> <20011216195054.A36208@mail.slc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Anthony Schneider wrote: > > Well, the reason I brought up $USER inheritance is that on linux, $USER is root > after an su to root, whereas on FreeBSD, the $USER is the same as before the su. > Not really thinking, I thought that perhaps that refleted the inherited $UID, > which I was wrong about. Sorry for that. This is broken in Linux. USER is the login user name, which is invariant over "su", according to POSIX. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message