Skip to content

Commit

Permalink
aa-enforce, aa-disable, aa-status: add Polish translation; fix exampl…
Browse files Browse the repository at this point in the history
…e in aa-enforce (tldr-pages#14299)

Co-authored-by: Wiktor Perskawiec <[email protected]>
Co-authored-by: Lena <[email protected]>
  • Loading branch information
3 people authored Oct 23, 2024
1 parent 8fa01fd commit 752ab14
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 3 deletions.
13 changes: 13 additions & 0 deletions pages.pl/linux/aa-disable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# aa-disable

> Wyłącz polityki bezpieczeństwa AppArmor.
> Zobacz także: `aa-complain`, `aa-enforce`, `aa-status`.
> Więcej informacji: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-disable.8>.
- 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}}`
13 changes: 13 additions & 0 deletions pages.pl/linux/aa-enforce.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# aa-enforce

> Ustaw profil AppArmor w tryb wymuszony.
> Zobacz także: `aa-complain`, `aa-disable`, `aa-status`.
> Więcej informacji: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-enforce.8>.
- 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 ...}}`
25 changes: 25 additions & 0 deletions pages.pl/linux/aa-status.md
Original file line number Diff line number Diff line change
@@ -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: <https://gitlab.com/apparmor/apparmor/-/wikis/manpage_aa-status.8>.
- 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`
2 changes: 1 addition & 1 deletion pages/linux/aa-disable.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
4 changes: 2 additions & 2 deletions pages/linux/aa-enforce.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...}}`

0 comments on commit 752ab14

Please sign in to comment.