Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Feb 2017 18:40:52 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        User Questions <FreeBSD-questions@freebsd.org>
Subject:   Re: hardening /tmp
Message-ID:  <CAAdA2WOmES355oaat7SYNfg-qReeBfVJvNj7tzq1SoHG5oOwsw@mail.gmail.com>
In-Reply-To: <687643e26aeb858b3b5d9f5693829360.squirrel@webmail.harte-lyne.ca>
References:  <687643e26aeb858b3b5d9f5693829360.squirrel@webmail.harte-lyne.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8 February 2017 at 18:22, James B. Byrne via freebsd-questions <
freebsd-questions@freebsd.org> wrote:

> How do most people handle hardening /tmp and /var/tmp on FreeBSD?  I
> can get rid of /tmp from the file system and then simply mount it as a
> tmpfs in /etc/fstab.
>
> tmpfs         /tmp        tmpfs   rw,nosuid,noexec,mode=01777 0     0
>
> However, /var/tmp is supposed to survive across reboots so how is this
> handled?
>

How about just getting rid of /tmp and creating a symlink to /var/tmp? I am
trying to understand the dangers around that..


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WOmES355oaat7SYNfg-qReeBfVJvNj7tzq1SoHG5oOwsw>