Public bug reported: 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? ** Affects: sudo (Ubuntu) Importance: Low Status: Triaged ** Changed in: sudo (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/979319/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs