
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
Содержание 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: ......