Re: Separate tmp-dir for every user?
On 01.12.08 16:04, Paa.listas wrote:
> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
You love top-post because this way you don't have to remove all of useless
crap, so the mail size grows and grows?
OK, I did not inline-post.
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease
Reply to: