feat(profile): small profile improvments.

This commit is contained in:
Alexandre Pujol 2024-11-13 11:25:04 +00:00
parent f814bb4caf
commit 7c148fca95
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
5 changed files with 5 additions and 3 deletions

View file

@ -54,6 +54,7 @@ profile useradd @{exec_path} {
# To create user dirs and copy files from /etc/skel/ to them
@{HOME}/ rw,
@{HOME}/.** w,
@{HOME}/**/ r,
/var/lib/*/{,*} rw,
/etc/skel/{,.**} r,

View file

@ -24,7 +24,7 @@ profile w @{exec_path} {
@{sys}/devices/system/node/node@{int}/meminfo r,
@{run}/systemd/sessions/ r,
@{run}/systemd/sessions/@{int} r,
@{run}/systemd/sessions/* r,
@{PROC}/ r,
@{PROC}/@{pids}/cmdline r,