mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-19 01:18:16 +01:00
parent
fb93ac0df3
commit
feb482edd9
1 changed files with 9 additions and 5 deletions
|
@ -14,11 +14,15 @@ profile crontab @{exec_path} {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability audit_write,
|
||||
capability chown,
|
||||
capability dac_read_search,
|
||||
capability net_admin,
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{sh_path} rix,
|
||||
|
@ -29,12 +33,12 @@ profile crontab @{exec_path} {
|
|||
/etc/pam.d/* r,
|
||||
/etc/security/*.conf r,
|
||||
|
||||
/var/spool/cron/ r,
|
||||
/var/spool/cron/crontabs/ rw,
|
||||
/var/spool/cron/user r,
|
||||
owner /var/spool/cron/crontabs/* rw,
|
||||
/var/spool/cron/ r,
|
||||
/var/spool/cron/** rw,
|
||||
|
||||
owner @{tmp}/crontab.@{rand6}/{,crontab} rw,
|
||||
owner @{user_cache_dirs}/crontab/crontab.bak rw,
|
||||
|
||||
@{tmp}/crontab.@{rand6}/{,crontab} rwl,
|
||||
|
||||
profile editor {
|
||||
include <abstractions/base>
|
||||
|
|
Loading…
Reference in a new issue