Hi, I am writing a program on a python under ubuntu, the essence is this:
When we run the program, we can watch everything that is there. When we want to change something, we press the "Unblock" button, the system dialog pops up asking for the root password, after which the program performs some administrative actions in the system. How can I do this unlocking on the fly? The option is to request a password with a self-made dialogue and then through the shell stupidly through sudo, you need to do the necessary, but I want more originality.