Adding Or Creating An Apparmor Profile; Editing An Apparmor Profile; Deleting An Apparmor Profile - Novell LINUX ENTERPRISE DESKTOP 11 - SECURITY GUIDE 17-03-2009 Manual

Hide thumbs Also See for LINUX ENTERPRISE DESKTOP 11 - SECURITY GUIDE 17-03-2009:
Table of Contents

Advertisement

24.3 Adding or Creating an AppArmor
To add or create an AppArmor profile for an application, you can use a systemic or
stand-alone profiling method, depending on your needs. Learn more about these two
approaches in

24.4 Editing an AppArmor Profile

The following steps describe the procedure for editing an AppArmor profile:
1 If you are not currently logged in as root, enter su in a terminal window.
2 Enter the root password when prompted.
3 Go to the profile directory with cd /etc/apparmor.d/.
4 Enter ls to view all profiles currently installed.
5 Open the profile to edit in a text editor, such as vim.
6 Make the necessary changes then save the profile.
7 Restart AppArmor by entering rcapparmor restart in a terminal window.

24.5 Deleting an AppArmor Profile

The following steps describe the procedure for deleting an AppArmor profile.
1 If you are not currently logged in as root, enter su in a terminal window.
2 Enter the root password when prompted.
3 Go to the AppArmor directory with cd /etc/apparmor.d/.
250
Security Guide
Profile
Section 24.6, "Two Methods of Profiling"
(page 251).

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise desktop 11

Table of Contents