Prevent multiple prompts for the root password in Nutty

Registered by Siddhartha Das

Currently, Nutty asks for the sudo privilege password every time the user interacts with a feature in Nutty that requires root privileges. This is because gksudo is invoked for every action requiring root privileges.

Polkit will be replacing gksudo for commands that require root privileges. a policy file for nutty will define the actions and <allow_active>auth_admin_keep</allow_active> will be used to keep the admin privileges for a short time. this will prevent the dialog asking for password to come up every time the user executes the action and will only come up for the first time

Blueprint information

Status:
Complete
Approver:
Siddhartha Das
Priority:
Medium
Drafter:
Siddhartha Das
Direction:
Approved
Assignee:
Siddhartha Das
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 0.9
Started by
Siddhartha Das
Completed by
Siddhartha Das

Related branches

Sprints

Whiteboard

replace gksudo with pkexec and define a policy file with <allow_active>auth_admin_keep</allow_active>

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.