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