Commit 8d33855f authored by Stephanie Briere Americo's avatar Stephanie Briere Americo
Browse files

SCRUM#384: Inserts polkit rule that does not allow guest users to turn off the...

SCRUM#384: Inserts polkit rule that does not allow guest users to turn off the machine and change network settings
parent b4d0ff68
Pipeline #14265 passed with stages
in 2 minutes and 26 seconds
[Prevents guest users from making changes and turning off the machine]
Identity=unix-user:guest*
Action=org.freedesktop.login1.*;org.freedesktop.NetworkManager.*
ResultAny=no
ResultInactive=no
ResultActive=no
#!/bin/bash
cd ../../
# Copia arquivo que altera permissões dos usuários
install -m 644 etc/polkit-1/localauthority/50-local.d/* /etc/polkit-1/localauthority/50-local.d
# Copia arquivos do X para systemd
install -m 644 etc/systemd/system/* /etc/systemd/system
# Copia configs de usb para o udev
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment