SCIENTIFIC-LINUX-USERS Archives

September 2010

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

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

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

Print Reply
Sender:
Mailling list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Mon, 20 Sep 2010 12:44:00 -0600
MIME-version:
1.0
Reply-To:
Stephen John Smoogen <[log in to unmask]>
Content-type:
text/plain; charset=windows-1252
Subject:
From:
Stephen John Smoogen <[log in to unmask]>
In-Reply-To:
Content-transfer-encoding:
QUOTED-PRINTABLE
Comments:
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