File: aa-cleanprof.8.html

package info (click to toggle)
apparmor 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 34,800 kB
  • sloc: ansic: 24,940; python: 24,595; sh: 12,524; cpp: 9,024; yacc: 2,061; makefile: 1,921; lex: 1,215; pascal: 1,145; perl: 1,033; ruby: 365; lisp: 282; exp: 250; java: 212; xml: 159
file content (72 lines) | stat: -rw-r--r-- 2,612 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>aa-cleanprof - clean an existing AppArmor security profile.</title>
<link rel="stylesheet" href="apparmor.css" type="text/css" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>
<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr><td class="_podblock_" valign="middle">
<big><strong><span class="_podblock_">&nbsp;aa-cleanprof - clean an existing AppArmor security profile.</span></strong></big>
</td></tr>
</table>



<ul id="index">
  <li><a href="#NAME">NAME</a></li>
  <li><a href="#SYNOPSIS">SYNOPSIS</a></li>
  <li><a href="#OPTIONS">OPTIONS</a></li>
  <li><a href="#DESCRIPTION">DESCRIPTION</a></li>
  <li><a href="#BUGS">BUGS</a></li>
  <li><a href="#SEE-ALSO">SEE ALSO</a></li>
</ul>

<h1 id="NAME">NAME</h1>

<p>aa-cleanprof - clean an existing AppArmor security profile.</p>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<p><b>aa-cleanprof <i>&lt;executable&gt;</i> [<i>&lt;executable&gt;</i> ...] [<i>-d /path/to/profiles</i>] [<i>--no-reload]</i> [<i>-s</i>]</b></p>

<h1 id="OPTIONS">OPTIONS</h1>

<p><b>-d --dir /path/to/profiles</b></p>

<pre><code>Specifies where to look for the AppArmor security profile set.
Defaults to /etc/apparmor.d.</code></pre>

<p><b>--no-reload</b> Do not reload the profile after modifying it.</p>

<p><b>-s --silent</b></p>

<pre><code>Silently overwrites the profile without user prompt.</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<p><b>aa-cleanprof</b> is used to perform a cleanup on one or more profiles. The tool removes any existing superfluous rules (rules that are covered under an include or another rule), reorders the rules to group similar rules together and removes all comments from the file.</p>

<h1 id="BUGS">BUGS</h1>

<p>If you find any bugs, please report them at <a href="https://gitlab.com/apparmor/apparmor/-/issues">https://gitlab.com/apparmor/apparmor/-/issues</a>.</p>

<h1 id="SEE-ALSO">SEE ALSO</h1>

<p>apparmor(7), apparmor.d(5), aa-enforce(1), aa-complain(1), aa-disable(1), aa_change_hat(2), and <a href="https://wiki.apparmor.net">https://wiki.apparmor.net</a>.</p>

<table border="0" width="100%" cellspacing="0" cellpadding="3">
<tr><td class="_podblock_" valign="middle">
<big><strong><span class="_podblock_">&nbsp;aa-cleanprof - clean an existing AppArmor security profile.</span></strong></big>
</td></tr>
</table>

</body>

</html>