[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Separate tmp-dir for every user?



You can make a little script that create a tmp directory for each entry in
/etc/passwd and sets TMPDIR

Pablo.

I love top-post. Please don't middle-post. Please don't push people to
follow those rules.



-----Mensaje original-----
De: Steve Kemp [mailto:skx@debian.org] 
Enviado el: Lunes, 01 de Diciembre de 2008 02:00 p.m.
Para: Jonathan Yu
CC: Debian Isp
Asunto: Re: Separate tmp-dir for every user?

On Mon Dec 01, 2008 at 10:47:21 -0500, Jonathan Yu wrote:

> If you're using tmpfs, then my understanding is that the files are
> stored in ram and will not persist on reboots. Then how do you
> maintain the per-user temp directories between reboots? Do you create
> them all and save an image of the ramdisk, which is then loaded into
> the system on every boot-up? Is there a script in init.d somewhere
> that does that?

  Please don't top-post.  Please quote text selectively not in its
 entirety.

  Creating per-user /tmp directories is as simple as:

    apt-get install libpam-tmpdir

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


-- 
To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org


Reply to: