SCIENTIFIC-LINUX-USERS Archives

September 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stephen John Smoogen <[log in to unmask]>
Reply To:
Stephen John Smoogen <[log in to unmask]>
Date:
Mon, 20 Sep 2010 12:44:00 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
On Mon, Sep 20, 2010 at 05:31, Arnau Bria <[log in to unmask]> wrote:
> Hi all,
>
> may I disable /tmp cleaning after reboot? If yes, could some one tell
> me what file do I have to modify?

I would think this would break all kinds of software. Most programs
assume /tmp is available to them to put in symlinks and other code
where they are assuming 'cross' application access.

So my question would be.. what are you trying to accomplish exactly?
Security wise, I normally create /tmp and /var/tmp as seperate
partitions and then I make those 'noexec, nosuid, nodev' in /etc/fstab
[that covers soe things worrisome about /tmp... symlink attacks are
not solved but that is the best one can do.]

> I see some hardcoded /tmp/* removals in /etc/rc.sysinit.
>
> *I don't find any clue on google.
>
>
> TIA,
> Arnau
>



-- 
Stephen J Smoogen.
“The core skill of innovators is error recovery, not failure avoidance.”
Randy Nelson, President of Pixar University.
"We have a strategic plan. It's called doing things.""
— Herb Kelleher, founder Southwest Airlines

ATOM RSS1 RSS2