2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-30 22:05:27 +00:00

initial john the ripper

This commit is contained in:
Julia Sarris
2025-05-01 10:00:33 -04:00
parent 9b43c479a8
commit f25c2c4d9e

25
profiles/apparmor.d/john Normal file
View 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,
}