Re: noexec mount-option with selinux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2006-06-07 at 18:03 +0200, Marten Lehmann wrote:
> Hello,
> 
> > That means a fully working solution looks something like this:
> > $ mount --bind /home/tmp/ /home/tmp/
> > $ mount -o remount,noexec /home/tmp/
> > $ mount --bind /home/tmp/ /tmp/
> 
> thanks, it really works. It even works after adding appropriate lines to 
> /etc/fstab so this is automatically done at boot time (I was afraid that 
> mount woudln't like entries with duplicate mountpoints).

Watch out if/when you come to upgrade this system; FC5's anaconda was
confused by bind mounts in fstab and they needed to be commented out
before doing the upgrade,

Paul.

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux