Re: proposal: per-user temporary directories on by default?
* 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 : :' :