[Bug 979319] Re: [FFe] sudo do not remember password when std(in|out|err) are not connected to a terminal

Martin Pitt martin.pitt at ubuntu.com
Thu Apr 12 05:20:58 UTC 2012


Nice! This indeed has bothered me for some time as well. The patch looks
fine to me, approved.

** Changed in: sudo (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/979319

Title:
  [FFe] sudo do not remember password when std(in|out|err) are not
  connected to a terminal

Status in “sudo” package in Ubuntu:
  Triaged

Bug description:
  sudo will not remember the password (and thus prompt for it) when none
  of stdin, stdout and stderr are connected to a terminal.  In certain
  use-cases, this could be problematic.  For example, in a build script
  where std(in|out|err) are all connected to pipes.  See discussion at
  http://code.google.com/p/chromium-os/issues/detail?id=18393 for such a
  use-case.

  There is a commit upstream that resolve this problem:

      http://www.sudo.ws/repos/sudo/rev/b9dfce12af85

  
  Would it be possible to consider the above commit for inclusion in precise?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/979319/+subscriptions




More information about the foundations-bugs mailing list