26
Confining Users with
pam_apparmor
An AppArmor profile applies to an executable program; if a portion of the program
needs different access permissions than other portions, the program can change hats
via change_hat to a different role, also known as a subprofile. The pam_apparmor PAM
module allows applications to confine authenticated users into subprofiles based on
group names, user names, or a default profile. To accomplish this, pam_apparmor needs
to be registered as a PAM session module.
The package pam_apparmor may not installed by default, you may need to install it
using YaST or
zypper
. Details about how to set up and configure pam_apparmor can
be found in
/usr/share/doc/packages/pam_apparmor/README
after the
package has been installed. For details on PAM, refer to
Chapter 2, Authentication with
PAM
(page 17).
pam_apparmor allows to set up role-based access control (RBAC). In conjunction with
the set capabilities rules (see
Section 21.11, “Setting Capabilities per Profile”
(page 259)
for more information), it allows to map restricted admin profiles to users. A detailed
HOWTO on setting up RBAC with AppArmor is available at
http://developer
.novell.com/wiki/index.php/Apparmor_RBAC_in_version_2.3
.
Confining Users with pam_apparmor
327
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: ......