28.4.7 Can I Manage Profiles for
Applications not Installed on my
System?
Managing profiles with AppArmor requires you to have access to a the system's log
the application is running on. So you do not need to run the application on your profile
build host as long as you have access to the machine that runs the application. You can
run the application on one system, transfer the logs (
/var/log/audit.log
or, if
audit
is not installed,
/var/log/messages
) to your profile build host and run
aa-logprof -f
path_to_logfile
.
28.4.8 How to Spot and fix AppArmor
Syntax Errors?
Manually editing Novell AppArmor profiles can introduce syntax errors. If you attempt
to start or restart AppArmor with syntax errors in your profiles, error results are shown.
This example shows the syntax of the entire parser error.
localhost:~ # rcapparmor start
Loading AppArmor profiles AppArmor parser error in
/etc/apparmor.d/usr.sbin.squid at line 410: syntax error, unexpected TOK_ID,
expecting TOK_MODE
Profile /etc/apparmor.d/usr.sbin.squid failed to load
Using the AppArmor YaST tools, a graphical error message indicates which profile
contained the error and requests you to fix it.
366
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: ......