man-pages/man8/aa-remove-unknown.8.html
2021-03-31 01:06:50 +01:00

100 lines
2.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of AA-REMOVE-UNKNOWN</TITLE>
</HEAD><BODY>
<H1>AA-REMOVE-UNKNOWN</H1>
Section: AppArmor (8)<BR>Updated: 2020-05-19<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
aa-remove-unknown - remove unknown AppArmor profiles
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>aa-remove-unknown</B> [option]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>aa-remove-unknown</B> will inventory all profiles in /etc/apparmor.d/, compare
that list to the profiles currently loaded into the kernel, and then remove all
of the loaded profiles that were not found in /etc/apparmor.d/. It will also
report the name of each profile that it removes on standard out.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1">-h, --help<DD>
displays a short usage statement.
<DT id="2">-n<DD>
dry run; only prints the names of profiles that would be removed
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLES</H2>
<PRE>
$ sudo ./aa-remove-unknown -n
Would remove 'test//null-/usr/bin/whoami'
Would remove 'test'
$ sudo ./aa-remove-unknown
Removing 'test//null-/usr/bin/whoami'
Removing 'test'
</PRE>
<A NAME="lbAG">&nbsp;</A>
<H2>BUGS</H2>
None. Please report any you find to Launchpad at
&lt;<A HREF="https://bugs.launchpad.net/apparmor/+filebug">https://bugs.launchpad.net/apparmor/+filebug</A>&gt;.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?7+apparmor">apparmor</A></B>(7)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="6"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="7"><A HREF="#lbAF">EXAMPLES</A><DD>
<DT id="8"><A HREF="#lbAG">BUGS</A><DD>
<DT id="9"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:10 GMT, March 31, 2021
</BODY>
</HTML>