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
Содержание LINUX ENTERPRISE DESKTOP 11
Страница 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Страница 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Страница 10: ......
Страница 29: ...Part I Authentication...
Страница 30: ......
Страница 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Страница 126: ......
Страница 127: ...Part II Local Security...
Страница 128: ......
Страница 158: ......
Страница 173: ...Part III Network Security...
Страница 174: ......
Страница 194: ......
Страница 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Страница 210: ......
Страница 228: ......
Страница 229: ...Part IV Confining Privileges with Novell AppArmor...
Страница 230: ......
Страница 274: ......
Страница 300: ......
Страница 328: ......
Страница 340: ......
Страница 342: ......
Страница 386: ......
Страница 387: ...Part V The Linux Audit Framework...
Страница 388: ......