Score:0

Unable to disable snap.nmap.nmap policy

jp flag

I've installed nmap with snap on Ubuntu 20.04, and in aa-status I can see nmap profile is enabled:

# aa-status
apparmor module is loaded.
35 profiles are loaded.
34 profiles are in enforce mode.
   ...
   snap.nmap.ncat
   snap.nmap.nmap
   snap.nmap.nping
1 profiles are in complain mode.
   snap.kubectl.kubectl
27 processes have profiles defined.
27 processes are in enforce mode.
   ...
   /snap/docker/1125/bin/containerd-shim-runc-v2 (369615) snap.docker.dockerd
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

But I'm unable to disable it:

# aa-disable snap.nmap.nmap
Can't find snap.nmap.nmap in the system path list. If the name of the application
is correct, please run 'which snap.nmap.nmap' as a user with correct PATH
environment set up in order to find the fully-qualified path and
use the full path as parameter.

What was wrong?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.