Privilege Escalation Timeout in GUI

Hi all, I’ve been wondering for a while now if it’s possible to extend the time interval between root password requests when prompted for it via the GUI; specifically when installing packages. I know how to configure sudo to make this longer, but via the UI, I often have to enter my password 10 mins after previously entering it. I’d love to configure it so one password entry could last an hour or so.

I assume you are referring to pamac, Manjaro’s package manager.

Pamac uses polkit, not sudo, for authorisation. This could be a solution for you:

Just make sure you change “butla” in “subject.isInGroup("butla")” to your own user group.

1 Like