Hi,

I wanted to prevent execution of file (binaries and scripts) under the
home directory. I know I can do this by:

sudo mount -o remount,noexec /home/user

But I also want to prevent execution of scripts under the dir. For e.g.
I can do a sh /home/user/filename.sh and it would still run the script.
So I want to deny access to interpreters to the home directory.

sh
bash
perl
php
python etc.

What tool would I need to use? I was thinking of apparmor since it does
path based stuff. What would you suggest??

Yogesh.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to