[apparmor] Solutions for scripting files, e.g perl python
Kshitij Gupta
kgupta8592 at gmail.com
Tue Jan 14 12:11:35 UTC 2014
On Jan 14, 2014 11:54 AM, "Aaron Lewis" <the.warl0ck.1989 at gmail.com> wrote:
>
> Hi,
>
Hello,
> It looks like one cannot create a profile for a scrit, e.g perl or python
>
> Am I wrong?
>
> I don't want a single profile for all script that runs by the same
interpreter
>
I think you can create a profile for a script as follows:
/path/to/script {
#include <abstractions/relevant>
#allow rules
#deny rules
}
The above works when the script is run as an executable. Though it didn't
work for me when used via idle or using python (my naive guess would be
because child profiles were not used by python/idle)
More experience members can shed more light on the matter.
Regards,
Kshitij Gupta
--
I always translate to something with an equivalent grammar error
<mdeslaur> on #apparmor
> --
> Best Regards,
> Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/
> Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33
>
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140114/a8e0c285/attachment.html>
More information about the AppArmor
mailing list