mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
john update
This commit is contained in:
parent
bece53da7b
commit
bef7b32d24
@ -1,25 +1,20 @@
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
profile john /usr/sbin/john {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/evince>
|
||||
include <abstractions/nameservice>
|
||||
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,
|
||||
|
||||
/** r,
|
||||
|
||||
deny @{HOME}/.* rwl,
|
||||
|
||||
@{HOME}/.john/ rw,
|
||||
@{HOME}/.john/*.log rwk,
|
||||
@{HOME}/.john/*.pot rwk,
|
||||
@{HOME}/.john/*.rec rwk,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user