Index: [Article Count Order] [Thread]

Date:  Sun, 10 Sep 2006 07:28:31 -0500
From:  "Gerald Waugh" <gwaugh (at mark) frontstreetnetworks.com>
Subject:  [coba-e:06813] Re: /TMP Directory
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <057f01c6d4d4$a10ae980$0301a8c0@Jerrycp>
In-Reply-To:  <000801c6d47e$45dc6f80$6400a8c0@YOUR4105E587B6>
X-Mail-Count: 06813

> Brian, I tried to run your remount commands.  I tried first 
> to run them individually.  And then I tried to run them all 
> in a block.  Each time, the server sits after the first 
> command is entered, like it's waiting on something else.  
> When I ran it as a block, the second and third commands 
> repeated themselves on the screen.  When I ran them by 
> themselves, the first one gave a permissions error (it is 
> 644), so I didn't run the second.
> 
> Thoughts?

I think it is a problem with line wrap in Brian's message.
Following is on one (1) line...

/usr/bin/perl -pi -e "if (/\/tmp/) { s/defaults/noexec,nosuid,rw/ }"
/etc/fstab

Then execute 
  mount | grep "/tmp"

The above should indicate;
  /dev/md2 on /tmp type ext3 (rw,noexec,nosuid)

Gerald