← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 716595] Re: consecutive root_command_output() calls ask for password each time

 

Indeed it works when running without $DISPLAY, i. e. apport calls sudo
directly. But it doesn't seem to cache credentials when using gksu, as
this creates new PTYs (to run sudo in) every time.

We could provide a new API root_commands_output to accept a keyname ->
[command list] and slurp in all command outputs in one go. The xorg hook
could then use that.

** Summary changed:

- Apport hook prompts 3 times for password
+ consecutive root_command_output() calls ask for password each time

** Also affects: apport (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
https://bugs.launchpad.net/bugs/716595

Title:
  consecutive root_command_output() calls ask for password each time



References