
5
Once the profile is updated, put it back into enforce mode via the YaST AppArmor
Control Panel.
Using the AppArmor command line tools, you would proceed as follows:
1
Put the application's profile into complain mode:
aa-complain
/path/to/application
2
Run the application.
3
Update the profile according to the log entries made while running the application:
aa-logprof
/path/to/application
4
Put the resulting profile back into enforce mode:
aa-enforce
/path/to/application
28.4.3 How to Confine KDE Applications
with AppArmor?
Currently, it is not possible to confine KDE applications to the same extent as any
other application due to the way KDE manages its processes.
If you want to confine KDE applications, choose one of the following approaches, but
note that none of them is really suited for a standard setup:
Create a Single Profile for the Entire KDE Desktop
As all KDE processes are children of one parent process and AppArmor cannot
distinguish an individual application's process from the rest, create one huge profile
to confine the entire desktop all at once. This approach is only feasible if your setup
is a very limited (kiosk-type) one. Maintaining such a profile for a standard KDE
desktop including all of its applications would be close to impossible.
364
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......