18

I am trying to enable the apparmor profile for firefox, but when i enter

sudo aa-enforce /etc/apparmor.d/usr.bin.firefox 

i get a aa-enforce command not found message.

apparmor_status indicates apparmor is running with 20 profiles loaded.

any ideas? it's Ubuntu 14.04 & i just installed it

3
  • Have you installed the package apparmor-profiles ?
    – hg8
    Aug 11 '15 at 7:11
  • no, i didn't think this is required - usr.bin.firefox is already in the apparmor profiles folder
    – rm22
    Aug 11 '15 at 7:15
  • Maybe try to install the package ?
    – hg8
    Aug 11 '15 at 7:47
20

/usr/sbin/aa-enforce is part of the package apparmor-utils, which isn't installed per default.

Therefore install the package with

sudo apt-get install apparmor-utils
2
  • As you're a reputation 1 user: If this answer helped you, don't forget to click the grey at the left of this text, which means Yes, this answer is valid! ;-)
    – Fabby
    Aug 11 '15 at 20:16
  • 1
    thanks Fabby - that did the trick. I didn't see this requirement anywhere in the documentation - would have thought it would be here help.ubuntu.com/community/AppArmor in the installation section
    – rm22
    Aug 12 '15 at 5:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.