Re: proposal: per-user temporary directories on by default?
- To: email@example.com
- Subject: Re: proposal: per-user temporary directories on by default?
- From: Tollef Fog Heen <firstname.lastname@example.org>
- Date: Tue, 23 Dec 2003 16:50:27 +0100
- Message-id: <[🔎] email@example.com>
- Mail-followup-to: firstname.lastname@example.org
- In-reply-to: <email@example.com> (Tollef Fog Heen's message of "Mon, 28 Jul 2003 04:41:23 +0200")
- References: <20030723211409.GA31197@dragon.kitenet.net> <firstname.lastname@example.org> <20030724161129.GA12355@dragon.kitenet.net> <20030724195005.GB7501@molehole.dyndns.org> <20030724225650.GA27904@rivest.dlitz.net> <20030725134417.GB10407@molehole.dyndns.org> <20030726120943.GA28230@lina.inka.de> <E19gOXY-0000T2-ST@mid.downhill.at.eu.org> <20030727081339.GA130212@morwong.ucc.gu.uwa.edu.au> <email@example.com>
* Tollef Fog Heen
| * Nick Bannon
| | On Sat, Jul 26, 2003 at 02:52:48PM +0200, Andreas Metzler wrote:
| | > Bernd Eckenfels <firstname.lastname@example.org> wrote:
| | > > If you default to ~/tmp/ or ~/.temp/ or something like this, you get the
| | > > hashing for free, and you only need quota on the home partition.
| | >
| | > It was pointed out already that this is not necessarily a good idea,
| | > e.g. when /home is on NFS.
| | When /home is on NFS, then ~/tmp is not optimal, but it's still a
| | reasonable and secure default.
| ATM, TMPDIR is defined using #define in libpam-tmpdir's source.
| Patches for having that as a run-time configuration are accepted.
The version I'm just about to upload will support runtime
configuration of SYSUSRTMP, by having a /etc/pam-tmpdir.conf
containing a line:
(The files accepts comments by starting the line with a #, and I'm
pondering adding per-session temporary directories as well, I've just
not gotten around to it yet.)
If the file is not present, it will use /tmp/user as before, so I will
not ship a configuration file in the package.
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :