Skip to content

Commit

Permalink
removes polkit rule for security reasons
Browse files Browse the repository at this point in the history
Podman can be used to aquire full access to the root user so unrestricted access is dangerous.
  • Loading branch information
taukakao committed Aug 2, 2024
1 parent 0c9dc76 commit 14ab1a8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ polkit.addRule(function (action, subject) {
if (
(
action.id == "org.vanillaos.vso.sys" ||
action.id == "org.vanillaos.vso.sys-upgrade" ||
action.id == "org.vanillaos.vso.distrobox" ||
action.id == "org.vanillaos.vso.podman"
action.id == "org.vanillaos.vso.sys-upgrade"
) &&
subject.isInGroup("sudo")
) {
Expand Down

0 comments on commit 14ab1a8

Please sign in to comment.