fsize
,
nofile
,
locks
,
sigpending
,
nproc
*
,
rtprio
a number greater or equal to 0
nice
a value between -20 and 19
*
The nproc rlimit is handled different than all the other rlimits. Instead of indicating
the standard process rlimit it controls the maximum number of processes that can be
running under the profile at any given time. Once the limit is exceeded the creation of
new processes under the profile will fail until the number of currently running processes
is reduced.
NOTE
Currently the tools can not be used to add rlimit rules to profiles. The only way
to add rlimit controls to a profile is manually edit the profile with a text editor.
The tools will still work with profiles containing rlimit rules and will not remove
them, so it is safe to use the tools to update profiles containing them.
21.10 Auditing Rules
AppArmor provides the ability to audit given rules so that when they are matched an
audit message will appear in the audit log. To enable audit messages for a given rule
the
audit
keyword is prepended to the rule:
audit /etc/foo/*
rw,
If it is desirable to audit only a given permission the rule can be split into two rules.
The following example will result in audit messages when files are opened for writing,
but not when they are opened for just reading:
audit /etc/foo/*
w,
/etc/foo/*
r,
NOTE
Audit messages are not generated for every read or write of a file but only
when a file is opened for read or write.
258
Security Guide
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: ......