Is that possible ?

Thanks

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 month ago

    I used Neon for a while. Again, can you please give the needed information. If the password dialog shows, at the left click on “expand”/“show more” and you see the exact action that is executed.

    Then have a look at the rules in my linked repo, and replace the action in “libvirt” with that, and the group with “wheel”

    (Use groups and send me the output, no idea if the sudo users are in the sudo group on Ubuntu)

    Then send that rule, embed it in

    ``` Rule ```

    To format correctly. I look at it and if it is correct, we go on.

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        30 days ago

        I have examples in the repo I linked

        polkit.addRule(function(action, subject) {
          if action.id == "ACTION" {
            if subject.isInGroup("wheel") {
              return polkit.Result.YES;
            }
          }
        });
        
        • KaKi87@jlai.luOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          18 days ago

          I don’t have a rules.d directory at /etc/polkit-1/ though, I only have localauthority and localauthority.conf.d.

          Should I create the directory then create the file ?

          Thanks