mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 06:45:38 +00:00
initial john the ripper
This commit is contained in:
25
profiles/apparmor.d/john
Normal file
25
profiles/apparmor.d/john
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
abi <abi/4.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
profile john /usr/sbin/john {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
|
include <abstractions/evince>
|
||||||
|
include if exists <local/john>
|
||||||
|
|
||||||
|
/usr/sbin/john mr,
|
||||||
|
@{etc_ro}/john/john.conf r,
|
||||||
|
@{etc_ro}/nsswitch.conf r,
|
||||||
|
@{etc_ro}/passwd r,
|
||||||
|
owner @{HOME}* r,
|
||||||
|
owner @{HOME}*.log wk,
|
||||||
|
owner @{HOME}*.rec wk,
|
||||||
|
owner @{HOME}.john/ w,
|
||||||
|
owner @{HOME}.john/*.log wk,
|
||||||
|
owner @{HOME}.john/*.pot rw,
|
||||||
|
owner @{HOME}.john/*.rec rwk,
|
||||||
|
owner @{etc_ro}/shadow r,
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user