allow user to kill and start cage-tty1.service
This commit is contained in:
parent
5d6a7ad2b4
commit
c94c2b85c2
1 changed files with 5 additions and 1 deletions
|
|
@ -109,7 +109,11 @@
|
|||
users = [ "user" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/systemctl restart cage-tty1.service";
|
||||
command = "/run/current-system/sw/bin/systemctl start cage-tty1.service";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
{
|
||||
command = "/run/current-system/sw/bin/systemctl kill cage-tty1.service";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue