When I tried to run the code below:

enforce /etc/apparmor.d/*

It says:

enforce: command not found

Even if I already successfully installed apparmor-utils using the code below:

sudo apt-get install apparmor-utils

The command is from CIS Distribution Independent Linux Manual (page 94):

enter image description here

  • 1
    Where did you get this command? Maybe aa-enforce?
    – Pilot6
    Feb 25 '19 at 9:08
  • @Pilot6 --> It is the command I read in a manual for apparmor package. Feb 25 '19 at 9:33
  • Can you provide a link to this manual?
    – Pilot6
    Feb 25 '19 at 9:33
  • This must be a wrong manual for Ubuntu.
    – Pilot6
    Feb 25 '19 at 9:39
  • @Pilot6 --> the manual can be downloaded for free when we logged in to cisecurity.org/cis-benchmarks . The title is CIS Distribution Independent Linux Feb 25 '19 at 9:39

You are using a wrong manual for Ubuntu.

Ubuntu manual for Apparmor can be found HERE.

Most likely you are looking for aa-enforce command.

This site is temporarily in read only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .