3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-03 18:08:46 +02:00
pbot/applets/pbot-vm/guest/polkit/00-auth-only.rules

6 lines
206 B
Plaintext
Raw Normal View History

// require admin login for all polkit actions
// e.g. NetworkManager, shutdown, reboot, etc now require root password
polkit.addRule(function(action, subject) {
return polkit.Result.AUTH_ADMIN;
});