Difference between revisions of "AppArmor"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * SELinux")
 
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
[[wikipedia:AppArmor]] ("Application Armor") is a [[Linux kernel]] [[Linux Security Modules|security module]] that allows the system administrator to restrict programs' capabilities with per-program profiles.
  
 +
apparmor_status
 +
 +
[[/etc/apparmor.d/]][[libvirt]]/
 +
 +
May 01 17:34:39 g-cc audit[188993]: AVC apparmor="DENIED" operation="open" profile="snap.[[rocketchat-server]].rocketchat-mongo" name="/proc/188993/net/netstat" pid=188993 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
 +
 +
 +
To disable [[AppArmor]]:
 +
  GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=0"
 +
  [[update-grub]]
 +
 +
 +
  cat /proc/[[cmdline]]
 +
 +
  sudo [[systemctl disable]] apparmor
 +
  [[reboot]]
 +
 +
 +
== Related terms ==
 +
* [[Canonical]]
 +
* [[kubelet is posting ready status. AppArmor enabled]]
  
 
== See also ==  
 
== See also ==  
* [[SELinux]]
+
* {{AppArmor}}
 +
* {{security modules}}
 +
 
 +
[[Category:Linux]]

Latest revision as of 11:38, 24 November 2022

wikipedia:AppArmor ("Application Armor") is a Linux kernel security module that allows the system administrator to restrict programs' capabilities with per-program profiles.

apparmor_status
/etc/apparmor.d/libvirt/
May 01 17:34:39 g-cc audit[188993]: AVC apparmor="DENIED" operation="open" profile="snap.rocketchat-server.rocketchat-mongo" name="/proc/188993/net/netstat" pid=188993 comm="ftdc" requested_mask="r" denied_mask="r" fsuid=0 ouid=0


To disable AppArmor:

 GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=0"
 update-grub


 cat /proc/cmdline
 sudo systemctl disable apparmor
 reboot


Related terms[edit]

See also[edit]

Advertising: