feat(profiles): apply rule from #51.
This commit is contained in:
parent
d93879d9df
commit
393e339b48
7 changed files with 17 additions and 3 deletions
|
|
@ -13,6 +13,7 @@ profile sudo @{exec_path} {
|
|||
include <abstractions/app-launcher-root>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/wutmp>
|
||||
# include <pam/mappings>
|
||||
|
|
@ -32,9 +33,13 @@ profile sudo @{exec_path} {
|
|||
|
||||
ptrace (read),
|
||||
|
||||
# signal,
|
||||
signal (send) set=(cont,hup) peer=su,
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/login[0-9]
|
||||
interface=org.freedesktop.login[0-9].Manager
|
||||
member=CreateSession
|
||||
peer=(name=org.freedesktop.login[0-9]),
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/run/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue