Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 09:50:37 -0700
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        sac <sacchi@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Why doesn't FreeBSD clear /tmp on bootup?
Message-ID:  <8cb6106e0705030950sa090fa9k7bdcb4ab17bb0061@mail.gmail.com>
In-Reply-To: <e14997e00705030937h50cedea7j1978de09f37542ca@mail.gmail.com>
References:  <e14997e00705030937h50cedea7j1978de09f37542ca@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> I've seen OpenBSD and some other variants of Unix clearing /tmp on
> bootup. But FreeBSD doesn't seem to do so.
> Is there any specific reason for this variation or is it just a matter
> of taste between these different Operating Systems?

You can put the following in rc.conf to do this:

clear_tmp_enable="YES"

It's not on by default.

Regards,
Josh



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