Add Or Create A Apparmor Profile; Edit Apparmor Profile; Delete Apparmor Profile - Novell APPARMOR Admin Manual

Hide thumbs Also See for APPARMOR:
Table of Contents

Advertisement

Building Novell AppArmor Profiles Using the Com-
Add or Create a Novell AppArmor Profile
To add or ceate a Novell AppArmor profile for an application, you can
use a systemic or standalone profiling method, depending on your
needs. Both methods are explained in detail here:
• Standalone Profiling: This method is suitable for profiling small
applications that have a finite run time, such as user client applica-
t i o n s l i k e ma i l c l i e n t s . " Standalone Profiling" o n p a g e5 0 .
• Systemic Profiling: This method is suitable for profiling large
numbers of programs all at once, and for profiling applications that
may run for days, weeks, or continuously across reboots, such as
n e t w o r k s e r v e r a p p l i c a t i o n s l i k e w e b s e r v e r s a n d ma i l s e r v e r s . " Sys-
temic Profiling" o n p a g e5 1 .
Edit Novell AppArmor Profile
The following steps tell you what you need to do in order to edit a Nov-
ell AppArmor profile. To better understand what makes up a profile,
r e f e r t o " Profile Components and Syntax" o n p a g e1 7 .
1. If you are not curently signed in as root, type su in a terminal win-
dow.
2. Enter the root password, when prompted.
3. To go to the directory, type cd /etc/subdomain.d/
4. Type ls to view all profiles currently installed.
5. Open the profile you want to edit in a text editor, such as vim.
6. Make the necessary changes, then save the profile.
7. Restart Novell AppArmor by typing
restart in a terminal window.
Delete Novell AppArmor Profile.
The following steps tell you what you need to do in order to delete a
Novell AppArmor profile.
1. If you are not curently signed in as root, type su in a terminal win-
dow.
2. Enter the root password, when prompted.
/etc/init.d/subdomain
49

Advertisement

Table of Contents
loading

Table of Contents