Hi,

what do you mean by upstream in this case? Debian? Or the sudo
developers? I think the problem with sudo is the same as in Debian Sid,
there referred to as #454409 [1]. The problem has a simple and a less
trivial solution:

1) The easy one first: Change debian/rules to not set default-prompt to
"[sudo] password for %u", because %u is always replaced by the invoking
user. Soo simply removing "for %u" helps. See Debian BTS for the patch.
According to the Debian maintainer of sudo this will be done in the next
upload.

Unfortunately there is no alternative to %u that respects def_rootpw (or 
def_targetpw (?) in this case), so
the alternative is to

2) .. patch sudo to have a placeholder that is proper for this case. I
created a patch for Debian (where the problem was with the def_rootpw
option, but now I see that this patch is incomplete, because I've
forgotten that def_targetpw exists. So my patch needs to be updated.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454409

-- 
sudo asks for wrong password
https://bugs.launchpad.net/bugs/148498
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to