Index: [Article Count Order] [Thread]

Date:  Sun, 10 Sep 2006 21:05:04 -0400
From:  "Darrell D. Mobley" <dmobley (at mark) uhostme.net>
Subject:  [coba-e:06815] Re: /TMP Directory
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <000e01c6d53e$5140d5d0$6400a8c0@YOUR4105E587B6>
In-Reply-To:  <058001c6d4d7$a6057330$0301a8c0@Jerrycp>
X-Mail-Count: 06815

Ok, now I am all confused...

Do the perl -pi -e stuff first, then fstab, then the mount/remount, then
mount/grep?

Does doing this break package installers?  What will YUM do?

> -----Original Message-----
> From: Gerald Waugh [mailto:gwaugh (at mark) frontstreetnetworks.com]
> Sent: Sunday, September 10, 2006 8:50 AM
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:06814] Re: /TMP Directory
> 
> 
> >
> > 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
> >
> 
> *** Oops! First execute;
>   /bin/mount -o remount /tmp
> 
> > Then execute
> >   mount | grep "/tmp"
> >
> > The above should indicate;
> >   /dev/md2 on /tmp type ext3 (rw,noexec,nosuid)
> 
> Gerald