fix(profile): multiple minor fixes.

fix #493 #480
This commit is contained in:
Alexandre Pujol 2024-09-17 12:55:08 +01:00
parent 7858cae330
commit 516a1fd36d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 24 additions and 2 deletions

View file

@ -54,13 +54,15 @@ profile login @{exec_path} flags=(attach_disconnected) {
/etc/security/pam_env.conf r,
/etc/shells r,
/var/lib/faillock/@{user} rwk,
/var/log/btmp{,.@{int}} r,
owner @{user_cache_dirs}/motd.legal-displayed rw,
@{run}/motd.d/{,*} r,
@{run}/credentials/getty@tty@{int}.service/ r,
@{run}/dbus/system_bus_socket rw,
@{run}/faillock/@{user} rwk,
@{run}/motd.d/{,*} r,
@{run}/motd.dynamic{,.new} rw,
@{run}/systemd/sessions/*.ref rw,