mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 17:08:09 +01:00
motd fixes
This commit is contained in:
parent
cf63b97c9b
commit
689f48b217
2 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{HOME}/@{XDG_SSH_DIR}/authorized_keys{,.*} r,
|
owner @{HOME}/@{XDG_SSH_DIR}/authorized_keys{,.*} r,
|
||||||
|
|
||||||
owner @{run}/sshd{,.init}.pid wl,
|
owner @{run}/sshd{,.init}.pid wl,
|
||||||
|
@{run}/motd.d/{,*} r,
|
||||||
@{run}/motd.dynamic rw,
|
@{run}/motd.dynamic rw,
|
||||||
@{run}/motd.dynamic.new rw,
|
@{run}/motd.dynamic.new rw,
|
||||||
@{run}/resolvconf/resolv.conf r,
|
@{run}/resolvconf/resolv.conf r,
|
||||||
|
|
|
@ -138,6 +138,8 @@ profile run-parts @{exec_path} {
|
||||||
|
|
||||||
/var/lib/update-notifier/updates-available r,
|
/var/lib/update-notifier/updates-available r,
|
||||||
|
|
||||||
|
@{run}/motd.d/{,*} r,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
profile kernel {
|
profile kernel {
|
||||||
|
|
Loading…
Reference in a new issue