Re: proposal: per-user temporary directories on by default?
- To: firstname.lastname@example.org
- Subject: Re: proposal: per-user temporary directories on by default?
- From: Tollef Fog Heen <email@example.com>
- Date: Tue, 23 Dec 2003 16:50:27 +0100
- Message-id: <[🔎] firstname.lastname@example.org>
- Mail-followup-to: email@example.com
- In-reply-to: <firstname.lastname@example.org> (Tollef Fog Heen's message of "Mon, 28 Jul 2003 04:41:23 +0200")
- References: <20030723211409.GA31197@dragon.kitenet.net> <email@example.com> <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> <firstname.lastname@example.org>
* Tollef Fog Heen
| * Nick Bannon
| | On Sat, Jul 26, 2003 at 02:52:48PM +0200, Andreas Metzler wrote:
| | > Bernd Eckenfels <email@example.com> 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 : :' :