Subject: Re: per-user /tmp
To: None <tech-security@netbsd.org>
From: Martin S. Weber <Ephaeton@gmx.net>
List: tech-security
Date: 02/03/2007 19:10:42
On Sat, Feb 03, 2007 at 07:23:26PM +0200, Elad Efrat wrote:
> hi,
> 
> attached are some diffs & instructions on how we can add support for
> per-user /tmp directories. the motivation is of course to avoid /tmp
> races.
> (...)

a) mkdir ${HOME}/tmp
b) export TMPDIR=${HOME}/tmp
c) enjoy
[d) find base-apps ignoring TMPDIR and fix them.]

attached are the necessary diffs:

Regards :)

-Martin