feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-03-03 12:20:10 +00:00
parent 0b0d58ab03
commit 3ff8e3847d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
37 changed files with 95 additions and 61 deletions

View file

@ -12,14 +12,8 @@ profile loginctl @{exec_path} {
include <abstractions/dbus-strict>
include <abstractions/systemd-common>
capability sys_resource,
capability net_admin,
@{exec_path} mr,
/{usr/,}bin/less rPx -> child-pager,
/{usr/,}bin/more rPx -> child-pager,
/{usr/,}bin/pager rPx -> child-pager,
capability sys_resource,
dbus (send) bus=system path=/org/freedesktop/login[0-9]*
interface=org.freedesktop.login[0-9]*.Manager
@ -31,5 +25,11 @@ profile loginctl @{exec_path} {
member={Get,GetAll}
peer=(name=org.freedesktop.login[0-9]*, label=systemd-logind),
@{exec_path} mr,
/{usr/,}bin/less rPx -> child-pager,
/{usr/,}bin/more rPx -> child-pager,
/{usr/,}bin/pager rPx -> child-pager,
include if exists <local/loginctl>
}