Sample Header Ad - 728x90

pkexec - how do I set a custom timeout for auth_admin_keep when writting a pkexec policy

4 votes
1 answer
2763 views
I was just reading the reference manual written by David Z for pkexec on freedesktop.org: https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html and https://www.freedesktop.org/software/polkit/docs/latest/pkexec.1.html Manual says that using the auth_admin_keep option will only keep your password for 5 to 15 minutes and that if we want to set custom timeouts we have write custom rules. Would anyone know how I can go about writing a custom rules for the timeout? I tried to follow along with the manual but I'm not a coder and I wasn't being able to understand the synthax, no were there any mentions made of timeout related synthax.
Asked by thebunnyrules (1157 rep)
Dec 8, 2017, 03:58 AM
Last activity: Jul 25, 2018, 04:39 AM