You are not logged in.

#1 2012-11-10 22:12:51

Rad3k
Member
From: Poland
Registered: 2009-05-09
Posts: 36

gksudo/sudo - ask for permission even if it remembers password

Hi there.

Is there any way of configuring (gk)sudo to explicitly ask for permission each time it is invoked?

Currently it only displays an information about granting privileges only *after* it happens - to me it seems like a security risk. After the user has entered the password once, anything can get the root privileges without the user being asked if he wants it. At least that's how I understand that - correct me if I'm wrong.

What I *don't* want is (gk)sudo asking me to type the password every time - for gksudo, I only want it to display some question dialog, like "An app X requested root privileges. What to do?" with options "grant" and "deny" or something similar.

Is this possible? And if it's not possible with gksudo, is there any other way I can achieve this? I've read that polkit with pkexec can be configured in various ways, but it seems pretty complex at first glance, and I'd like to know if it's worth further investigation.

Offline

Board footer

Powered by FluxBB