2013-09-19 10:32:19 +05:30
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
aa-cleanprof - clean an existing AppArmor security profile.
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2017-07-23 21:29:53 +02:00
|
|
|
B<aa-cleanprof I<E<lt>executableE<gt>> [I<E<lt>executableE<gt>> ...] [I<-d /path/to/profiles>] [I<--no-reload]> [I<-s>]>
|
2013-09-19 10:32:19 +05:30
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
B<-d --dir /path/to/profiles>
|
|
|
|
|
|
|
|
Specifies where to look for the AppArmor security profile set.
|
|
|
|
Defaults to /etc/apparmor.d.
|
2014-09-15 11:30:47 -07:00
|
|
|
|
2017-07-23 21:29:53 +02:00
|
|
|
B<--no-reload>
|
|
|
|
Do not reload the profile after modifying it.
|
|
|
|
|
2013-09-22 15:01:34 +05:30
|
|
|
B<-s --silent>
|
|
|
|
|
2013-09-22 23:49:19 +05:30
|
|
|
Silently overwrites the profile without user prompt.
|
2013-09-19 10:32:19 +05:30
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
|
|
|
B<aa-cleanprof> is used to perform a cleanup on one or more profiles.
|
2017-07-23 21:29:53 +02:00
|
|
|
The tool removes any existing superfluous rules (rules that are covered
|
2013-09-21 01:08:34 +05:30
|
|
|
under an include or another rule), reorders the rules to group similar rules
|
2013-09-22 15:01:34 +05:30
|
|
|
together and removes all comments from the file.
|
2013-09-19 10:32:19 +05:30
|
|
|
|
|
|
|
=head1 BUGS
|
|
|
|
|
|
|
|
If you find any bugs, please report them at
|
2020-05-02 20:40:55 -07:00
|
|
|
L<https://gitlab.com/apparmor/apparmor/-/issues>.
|
2013-09-19 10:32:19 +05:30
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
apparmor(7), apparmor.d(5), aa-enforce(1), aa-complain(1), aa-disable(1),
|
2018-09-13 16:28:22 +00:00
|
|
|
aa_change_hat(2), and L<https://wiki.apparmor.net>.
|
2013-09-19 10:32:19 +05:30
|
|
|
|
|
|
|
=cut
|