Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

apparmor remove

Hello, on ubunt 10.04 lts I would remove apparmor and then:

#/etc/init.d/apparmor stop
#update-rc.d -f apparmor remove

but also after this I have always:
apparmor_status                                                                                                                                                                                                                                                
apparmor module is loaded.
4 profiles are loaded.
4 profiles are in enforce mode.
   /sbin/dhclient3
   /usr/lib/NetworkManager/nm-dhcp-client.action
   /usr/lib/connman/scripts/dhclient-script
   /usr/sbin/mysqld
0 profiles are in complain mode.
1 processes have profiles defined.
1 processes are in enforce mode :
   /usr/sbin/mysqld (785)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.

how I can remove apparmor ?? I must:

#apt-get remove apparmor

Thanks.

-
 Salvatore.
0
sasapix
Asked:
sasapix
  • 2
2 Solutions
 
bz43Commented:
I would run as root:
aptitude remove apparmor apparmor-utils
0
 
sasapixAuthor Commented:
yes, already use root user for remove this.

-
 Salvatore.
0
 
pjasnosCommented:
Ubuntu kernel is compiled with AppArmor set to be on during boot. You need to compile your own kernel to completely get rid of it.

http://blog.avirtualhome.com/2010/05/05/how-to-compile-a-ubuntu-lucid-kernel/

when you edit the configs, you need to disable apparmor in security sub-menu.
0
 
sasapixAuthor Commented:
Hello, I have removed  AppArmor in this mode:
#apt-get remove apparmor

and now is ok with Plesk.
However thanks for you indication about ubuntu compile kernel.

-
 Salvatore.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now