Colin Guthrie <gmane <at> colin.guthr.ie> writes: > > Stelian Ionescu wrote: > > with the attached patch, make_random_dir first tries to use $TMPDIR, > > then $TMP finally defaulting to "/tmp" > > On my system $TMPDIR=/home/$USER/tmp > > On NFS, this would not be a good place to create a socket file, so I > don't think this is a good idea. Having $TMPDIR over NFS is a bad idea. If you need private tempdirs, a better solution would be to use pam_mktemp or something similar.