Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 01:45:30 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Anthony Schneider <aschneid@mail.slc.edu>
Cc:        Andreas Klemm <andreas@apsfilter.org>, apsfilter-hackers@apsfilter.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: aps2file doesn't work on FreeBSD
Message-ID:  <3C1DBEBA.FE49EC65@mindspring.com>
References:  <XFMail.011216010107.phallobst@web.de> <20011216203550.GA7135@titan.klemm.gtn.com> <20011216155358.A34707@mail.slc.edu> <20011216211318.GA902@titan.klemm.gtn.com> <20011216195054.A36208@mail.slc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C1DBEBA.FE49EC65>