Search K
Appearance
Appearance
AppArmor plugin, which allows changing "hat" (apparmor context) when user is loaded. Context is changed back to default on user deinit.
Multiple hats are supported and passed to aa_change_hatv()
function.
apparmor_hat
Default | [None] |
---|---|
Value | string |
The AppArmor "hat" to change to when a user is loaded.
You can define multiple hats by appending an increasing number to the setting name.
Example:
plugin {
apparmor_hat = hat_name
apparmor_hat2 = another_hat
}
You can also specify hats from user or password database extra fields.
If you provide from passdb, use userdb_apparmor_hat=hat
.
If you provide from userdb, use apparmor_hat=hat
.
mail_plugins = $mail_plugins apparmor
plugin {
apparmor_hat = hat_name
}
Enable log_debug
to see context changes.