home directories in all affected profiles, you only need to change the value of a variable.
Global variables are defined under
/etc/apparmor.d/tunables
and have to be
made available via an
#include
statement. Find the variable definitions for this use
case (
@{HOME}
and
@{HOMEDIRS}
) in the
/etc/apparmor.d/tunables/
home
file.
Local variables are defined at the head of a profile. This is useful to provide the base
of for a chrooted path, for example:
@{CHROOT_BASE}=/tmp/foo
/sbin/syslog-ng {
...
# chrooted applications
@{CHROOT_BASE}/var/lib/*/dev/log w,
@{CHROOT_BASE}/var/log/** w,
...
}
NOTE
With the current AppArmor tools, variables can only be used when manually
editing and maintaining a profile.
21.6.2 Alias rules
Alias rules provide an alternative way to manipulate profile path mappings to site spe-
cific layouts. They are an alternative form of path rewriting to using variables, and are
done post variable resolution:
alias /home/ -> /mnt/users/
NOTE
With the current AppArmor tools, alias rules can only be used when manually
editing and maintaining a profile. Whats more, they are deactivated by disabled.
Enable alias rules by editing
/etc/apparmor.d/tunables/alias
248
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: ......