mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-19 01:18:16 +01:00
Tighten the permissions of ufw
This commit is contained in:
parent
cecd0a6284
commit
d5ee5c51cb
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
# apparmor.d - Full set of apparmor profiles
|
# apparmor.d - Full set of apparmor profiles
|
||||||
# Copyright (C) 2024 EricLin
|
# Copyright (C) 2024 EricLin <ericlin050914@gmail.com>
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
abi <abi/3.0>,
|
abi <abi/3.0>,
|
||||||
|
@ -44,8 +44,10 @@ profile ufw @{exec_path} {
|
||||||
/etc/passwd r,
|
/etc/passwd r,
|
||||||
/etc/services r,
|
/etc/services r,
|
||||||
|
|
||||||
/var/tmp/* rw,
|
/var/tmp/@{rand8} rw,
|
||||||
/tmp/* rw,
|
/var/tmp/tmp* rw,
|
||||||
|
/tmp/@{rand8} rw,
|
||||||
|
/tmp/tmp* rw,
|
||||||
|
|
||||||
/dev/pts/[0-9]* rw,
|
/dev/pts/[0-9]* rw,
|
||||||
/dev/tty rw,
|
/dev/tty rw,
|
||||||
|
|
Loading…
Reference in a new issue