loginctl-linger
This commit is contained in:
parent
8f250f451c
commit
ad4bfab4f2
2 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ profile loginctl @{exec_path} flags=(attach_disconnected) {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/bus-system>
|
||||
include <abstractions/common/systemd>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability net_admin,
|
||||
capability sys_resource,
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ profile systemd-logind @{exec_path} flags=(attach_disconnected) {
|
|||
/swap/swapfile r,
|
||||
/swapfile r,
|
||||
|
||||
/var/lib/systemd/linger/ r,
|
||||
/var/lib/systemd/linger/{,@{user}} rw,
|
||||
|
||||
@{run}/.#nologin* rw,
|
||||
@{run}/credentials/getty@tty@{int}.service/ r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue