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.

You might want to also include the relevant open() or creat() call from the
apsfilter code.
-Anthony.

On Sun, Dec 16, 2001 at 10:13:18PM +0100, Andreas Klemm wrote:
> > try it with an su -l, or explicitly set $USER to 'root', or even replace
> > -n"$USER" with -n"root".  this is all assuming that -n is specifying some
> > sort of user privilege which you intend in this example to be root.
> > if not, please forget this email. :)
> > -Anthony.
> 
> I'm looking for a technical reason, why I can't write to
> /dev/stdout, which works under Linux but not with FreeBSD.
> 
> It doesn't work for a user and not after doing a su -l.
> 
> 
>       Andreas ///
> 
> -- 
> Andreas Klemm
> Apsfilter Homepage                       http://www.apsfilter.org
> Support over mailing-lists (only!)       http://www.apsfilter.org/support
> Mailing-list archive                     http://www.apsfilter.org/Lists-Archives
> Songs from our band >> 64Bits <<         http://www.64bits.de
> Inofficial band pages with add-on stuff  http://www.apsfilter.org/64bits.html


Attachment: msg30194/pgp00000.pgp
Description: PGP signature

Reply via email to