Mailinglist Archive: opensuse-packaging (172 mails)

< Previous Next >
Re: [opensuse-packaging] Re: mounting /var/run as tmpfs
  • From: Guido Berhoerster <guido+opensuse.org@xxxxxxxxxxxxxxxx>
  • Date: Sun, 2 May 2010 23:47:48 +0200
  • Message-id: <20100502214748.GC6201@xxxxxxxxxxxxxxxxxx>
* Michael Foerster <foerster@xxxxxxxx> [2010-05-02 21:37]:
Esp if login/profile scripts are modified to create a 'private' temp dir,
like /dev/shm/$USER and propagate via

export TMP=/dev/shm/$USER TEMP=$TMP TMPDIR=$TMP TEMPDIR=$TMP;
mkdir -m 700 -p /dev/shm/$USER

Per-user tmpdirs are also a nice thing to have for security
reasons, there's even a pam module which takes care of securely
creating a unique per-user tmpdir on login, see
http://packages.debian.org/source/sid/pam-tmpdir

--
Guido Berhoerster
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >