Project

General

Profile

Bug #12546

GNOME caches the administrative password differently than our sudo configuration

Added by anonym about 2 years ago. Updated 10 months ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/16/2017
Due date:
% Done:

0%

Feature Branch:
Type of work:
Research
Blueprint:
Starter:
Yes
Affected tool:

Description

We configure sudo to not cache the administration password, but when GNOME is provided the password e.g. for opening a disk, the disk can be remounted after it has been ejected without providing the password again.

This can probably be fixed by altering some polkit configuration in a live session (hence I mark this ticket "Easy").

This affects both in 2.x and 3.x.

History

#1 Updated by groovefest 10 months ago

Polkit authorization is cached for 5 minutes (a hardcoded value). I've opened an issue in the upstream polkit project https://gitlab.freedesktop.org/polkit/polkit/issues/71

Also available in: Atom PDF