diff --git a/pages.pl/linux/aa-disable.md b/pages.pl/linux/aa-disable.md new file mode 100644 index 000000000..8af2f0e17 --- /dev/null +++ b/pages.pl/linux/aa-disable.md @@ -0,0 +1,13 @@ +# aa-disable + +> Wyłącz polityki bezpieczeństwa AppArmor. +> Zobacz także: `aa-complain`, `aa-enforce`, `aa-status`. +> Więcej informacji: . + +- Wyłącz profile: + +`sudo aa-disable {{ścieżka/do/profilu1 ścieżka/do/profilu2 ...}}` + +- Wyłącz profile w katalogu (domyślnie `/etc/apparmor.d`): + +`sudo aa-disable --dir {{ścieżka/do/profili}}` diff --git a/pages.pl/linux/aa-enforce.md b/pages.pl/linux/aa-enforce.md new file mode 100644 index 000000000..39d37412b --- /dev/null +++ b/pages.pl/linux/aa-enforce.md @@ -0,0 +1,13 @@ +# aa-enforce + +> Ustaw profil AppArmor w tryb wymuszony. +> Zobacz także: `aa-complain`, `aa-disable`, `aa-status`. +> Więcej informacji: . + +- Włącz profil: + +`sudo aa-enforce --dir {{ścieżka/do/profilu}}` + +- Włącz profile: + +`sudo aa-enforce {{ścieżka/do/profilu1 ścieżka/do/profilu2 ...}}` diff --git a/pages.pl/linux/aa-status.md b/pages.pl/linux/aa-status.md new file mode 100644 index 000000000..e8079b743 --- /dev/null +++ b/pages.pl/linux/aa-status.md @@ -0,0 +1,25 @@ +# aa-status + +> Wyświetl aktualnie załadowane moduły AppArmor. +> Zobacz także: `aa-complain`, `aa-disable`, `aa-enforce`. +> Więcej informacji: . + +- Sprawdź status: + +`sudo aa-status` + +- Wyświetl liczbę załadowanych polityk: + +`sudo aa-status --profiled` + +- Wyświetl liczbę aktualnie załadowanych wymuszonych polityk: + +`sudo aa-status --enforced` + +- Wyświetl liczbę załadowanych niewymuszonych polityk: + +`sudo aa-status --complaining` + +- Wyświetl liczbę załadowanych wymuszonych polityk, które zabijają zadania: + +`sudo aa-status --kill` diff --git a/pages/linux/aa-disable.md b/pages/linux/aa-disable.md index 2e9bb3be8..9efd65c9b 100644 --- a/pages/linux/aa-disable.md +++ b/pages/linux/aa-disable.md @@ -8,6 +8,6 @@ `sudo aa-disable {{path/to/profile1 path/to/profile2 ...}}` -- Disable profiles (defaults to `/etc/apparmor.d`): +- Disable profiles in a directory (defaults to `/etc/apparmor.d`): `sudo aa-disable --dir {{path/to/profiles}}` diff --git a/pages/linux/aa-enforce.md b/pages/linux/aa-enforce.md index f6e1056d2..314aeb1a7 100644 --- a/pages/linux/aa-enforce.md +++ b/pages/linux/aa-enforce.md @@ -6,8 +6,8 @@ - Enable profile: -`sudo aa-enforce {{path/to/profile1 path/to/profile2 ...}}` +`sudo aa-enforce --dir {{path/to/profile}}` - Enable profiles: -`sudo aa-enforce --dir {{path/to/profile}}` +`sudo aa-enforce {{path/to/profile1 path/to/profile2 ...}}`