I configured SELinux:
semanage login -a -s user_u mary
setsebool user_exec_content off
The general configuration is
SELINUX=enforcing
SELINUXTYPE=targeted
When I login to the mary account I can still run the scripts in her account but setsebool ( user_exec_content=off) should forbid do it?
Can anyone point me in the right direction ?